Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-11 08:28:12

0001 //
0002 // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/url
0008 //
0009 
0010 #ifndef BOOST_URL_DETAIL_FORMAT_HPP
0011 #define BOOST_URL_DETAIL_FORMAT_HPP
0012 
0013 #include <boost/url/detail/format_args.hpp>
0014 #include <boost/core/detail/string_view.hpp>
0015 #include <boost/url/url.hpp>
0016 
0017 namespace boost {
0018 namespace urls {
0019 namespace detail {
0020 
0021 BOOST_URL_DECL
0022 void
0023 vformat_to(
0024     url_base& u,
0025     core::string_view fmt,
0026     detail::format_args args);
0027 
0028 inline
0029 url
0030 vformat(
0031     core::string_view fmt,
0032     detail::format_args args)
0033 {
0034     url u;
0035     vformat_to(u, fmt, args);
0036     return u;
0037 }
0038 
0039 } // detail
0040 } // url
0041 } // boost
0042 
0043 #endif