LCOV - code coverage report
Current view: top level - boost/http_proto/rfc/detail/ws.hpp (source / functions) Coverage Total Hit
Test: coverage_filtered.info Lines: 100.0 % 2 2
Test Date: 2025-09-21 18:08:14 Functions: 100.0 % 1 1

            Line data    Source code
       1              : //
       2              : // Copyright (c) 2021 Vinnie Falco (vinnie.falco@gmail.com)
       3              : //
       4              : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       5              : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       6              : //
       7              : // Official repository: https://github.com/cppalliance/http_proto
       8              : //
       9              : 
      10              : #ifndef BOOST_HTTP_PROTO_RFC_DETAIL_WS_HPP
      11              : #define BOOST_HTTP_PROTO_RFC_DETAIL_WS_HPP
      12              : 
      13              : namespace boost {
      14              : namespace http_proto {
      15              : namespace detail {
      16              : 
      17              : // WS         = SP / HTAB
      18              : struct ws_t
      19              : {
      20              :     constexpr
      21              :     bool
      22        99225 :     operator()(char c) const noexcept
      23              :     {
      24        99225 :         return c == ' ' || c == '\t';
      25              :     }
      26              : };
      27              : 
      28              : constexpr ws_t ws{};
      29              : 
      30              : } // detail
      31              : } // http_proto
      32              : } // boost
      33              : 
      34              : #endif
        

Generated by: LCOV version 2.1