GCC Code Coverage Report


Directory: libs/url/
File: libs/url/src/grammar/string_view_base.cpp
Date: 2024-01-19 15:42:54
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 //
2 // Copyright (c) 2022 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/boostorg/url
8 //
9
10 #ifndef BOOST_URL_IMPL_STRING_VIEW_BASE_IPP
11 #define BOOST_URL_IMPL_STRING_VIEW_BASE_IPP
12
13 #include <boost/url/detail/config.hpp>
14 #include <boost/url/grammar/string_view_base.hpp>
15 #include <ostream>
16
17 namespace boost {
18 namespace urls {
19 namespace grammar {
20
21 std::ostream&
22 32 operator<<(
23 std::ostream& os,
24 string_view_base const& s)
25 {
26 32 return os << urls::detail::to_sv(s);
27 }
28
29 } // grammar
30 } // urls
31 } // boost
32
33 #endif
34
35