LCOV - code coverage report
Current view: top level - http_proto/impl - filter.ipp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 0 10 0.0 %
Date: 2023-12-11 14:11:20 Functions: 0 1 0.0 %

          Line data    Source code
       1             : //
       2             : // Copyright (c) 2023 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_BUFFERS_IMPL_FILTER_IPP
      11             : #define BOOST_BUFFERS_IMPL_FILTER_IPP
      12             : 
      13             : #include <boost/http_proto/filter.hpp>
      14             : #include <boost/buffers/range.hpp>
      15             : 
      16             : namespace boost {
      17             : namespace http_proto {
      18             : 
      19             : auto
      20           0 : filter::
      21             : on_process(
      22             :     buffers::mutable_buffer_span out,
      23             :     buffers::const_buffer_span in,
      24             :     bool more) ->
      25             :         results
      26             : {
      27           0 :     results rv;
      28           0 :     auto it0 = buffers::begin(in);
      29           0 :     auto it1 = buffers::begin(out);
      30           0 :     auto const end0 = buffers::end(in);
      31           0 :     auto const end1 = buffers::end(out);
      32           0 :     while(
      33           0 :         it0 != end0 ||
      34             :         it1 != end1)
      35             :     {
      36           0 :         ++it1;
      37             :         (void)more;
      38             :         (void)end0;
      39             :         (void)it0;
      40             :     }
      41           0 :     return rv;
      42             : }
      43             : 
      44             : } // http_proto
      45             : } // boost
      46             : 
      47             : #endif

Generated by: LCOV version 1.15