Line | Branch | Exec | Source |
---|---|---|---|
1 | // | ||
2 | // Copyright (c) 2022 Alan de Freitas (alandefreitas@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_DETAIL_VFORMAT_IPP | ||
11 | #define BOOST_URL_DETAIL_VFORMAT_IPP | ||
12 | |||
13 | #include <boost/url/detail/config.hpp> | ||
14 | #include <boost/url/detail/vformat.hpp> | ||
15 | #include "pattern.hpp" | ||
16 | |||
17 | namespace boost { | ||
18 | namespace urls { | ||
19 | namespace detail { | ||
20 | |||
21 | void | ||
22 | 147 | vformat_to( | |
23 | url_base& u, | ||
24 | core::string_view fmt, | ||
25 | detail::format_args args) | ||
26 | { | ||
27 | 147 | parse_pattern(fmt) | |
28 |
4/4✓ Branch 2 taken 140 times.
✓ Branch 3 taken 7 times.
✓ Branch 5 taken 136 times.
✓ Branch 6 taken 4 times.
|
147 | .value().apply(u, args); |
29 | 136 | } | |
30 | |||
31 | |||
32 | } // detail | ||
33 | } // urls | ||
34 | } // boost | ||
35 | |||
36 | #endif | ||
37 |