100.00% Lines (4/4) 100.00% Functions (1/1)
TLA Baseline Branch
Line Hits Code Line Hits Code
1   // 1   //
2   // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com) 2   // Copyright (c) 2022 Alan de Freitas (alandefreitas@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/detail/vformat.hpp> 12   #include <boost/url/detail/vformat.hpp>
13   #include "pattern.hpp" 13   #include "pattern.hpp"
14   14  
15   namespace boost { 15   namespace boost {
16   namespace urls { 16   namespace urls {
17   namespace detail { 17   namespace detail {
18   18  
19   void 19   void
HITCBC 20   165 vformat_to( 20   165 vformat_to(
21   url_base& u, 21   url_base& u,
22   core::string_view fmt, 22   core::string_view fmt,
23   detail::format_args args) 23   detail::format_args args)
24   { 24   {
HITCBC 25   176 parse_pattern(fmt) 25   176 parse_pattern(fmt)
HITCBC 26   165 .value().apply(u, args); 26   165 .value().apply(u, args);
HITCBC 27   154 } 27   154 }
28   28  
29   29  
30   } // detail 30   } // detail
31   } // urls 31   } // urls
32   } // boost 32   } // boost
33   33