100.00% Lines (2/2)
100.00% Functions (1/1)
| TLA | Baseline | Branch | ||||||
|---|---|---|---|---|---|---|---|---|
| Line | Hits | Code | Line | Hits | Code | |||
| 1 | // | 1 | // | |||||
| 2 | // Copyright (c) 2022 Vinnie Falco (vinnie.falco@gmail.com) | 2 | // Copyright (c) 2022 Vinnie Falco (vinnie.falco@gmail.com) | |||||
| 3 | // | 3 | // | |||||
| 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | 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) | 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |||||
| 6 | // | 6 | // | |||||
| 7 | // Official repository: https://github.com/boostorg/url | 7 | // Official repository: https://github.com/boostorg/url | |||||
| 8 | // | 8 | // | |||||
| 9 | 9 | |||||||
| 10 | 10 | |||||||
| 11 | #include <boost/url/detail/config.hpp> | 11 | #include <boost/url/detail/config.hpp> | |||||
| 12 | #include <boost/url/grammar/string_view_base.hpp> | 12 | #include <boost/url/grammar/string_view_base.hpp> | |||||
| 13 | #include <ostream> | 13 | #include <ostream> | |||||
| 14 | 14 | |||||||
| 15 | namespace boost { | 15 | namespace boost { | |||||
| 16 | namespace urls { | 16 | namespace urls { | |||||
| 17 | namespace grammar { | 17 | namespace grammar { | |||||
| 18 | 18 | |||||||
| 19 | std::ostream& | 19 | std::ostream& | |||||
| HITCBC | 20 | 98 | operator<<( | 20 | 98 | operator<<( | ||
| 21 | std::ostream& os, | 21 | std::ostream& os, | |||||
| 22 | string_view_base const& s) | 22 | string_view_base const& s) | |||||
| 23 | { | 23 | { | |||||
| HITCBC | 24 | 98 | return os << urls::detail::to_sv(s); | 24 | 98 | return os << urls::detail::to_sv(s); | ||
| 25 | } | 25 | } | |||||
| 26 | 26 | |||||||
| 27 | } // grammar | 27 | } // grammar | |||||
| 28 | } // urls | 28 | } // urls | |||||
| 29 | } // boost | 29 | } // boost | |||||
| 30 | 30 | |||||||
| 31 | 31 | |||||||