Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:26

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_PCT_FORMAT_HPP
0011 #define BOOST_URL_DETAIL_PCT_FORMAT_HPP
0012 
0013 #include <boost/core/detail/string_view.hpp>
0014 #include <boost/url/url.hpp>
0015 #include <boost/url/grammar/lut_chars.hpp>
0016 #include <boost/url/detail/format_args.hpp>
0017 
0018 namespace boost {
0019 namespace urls {
0020 namespace detail {
0021 
0022 // measure a single string
0023 BOOST_URL_DECL
0024 std::size_t
0025 pct_vmeasure(
0026     grammar::lut_chars const& cs,
0027     format_parse_context& pctx,
0028     measure_context& mctx);
0029 
0030 // format a single string
0031 BOOST_URL_DECL
0032 char*
0033 pct_vformat(
0034     grammar::lut_chars const& cs,
0035     format_parse_context& pctx,
0036     format_context& fctx);
0037 
0038 } // detail
0039 } // url
0040 } // boost
0041 
0042 #endif