libs/url/src/grammar/string_view_base.cpp

100.0% Lines (2/2) 100.0% Functions (1/1) -% Branches (0/0)
libs/url/src/grammar/string_view_base.cpp
Line Hits Source Code
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
11 #include <boost/url/detail/config.hpp>
12 #include <boost/url/grammar/string_view_base.hpp>
13 #include <ostream>
14
15 namespace boost {
16 namespace urls {
17 namespace grammar {
18
19 std::ostream&
20 96 operator<<(
21 std::ostream& os,
22 string_view_base const& s)
23 {
24 96 return os << urls::detail::to_sv(s);
25 }
26
27 } // grammar
28 } // urls
29 } // boost
30
31
32