Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:57

0001 // Copyright 2022 Peter Dimov
0002 // Copyright 2023 Matt Borland
0003 // Distributed under the Boost Software License, Version 1.0.
0004 // https://www.boost.org/LICENSE_1_0.txt
0005 
0006 #ifndef BOOST_JSON_DETAIL_CHARCONV_FROM_CHARS_HPP_INCLUDED
0007 #define BOOST_JSON_DETAIL_CHARCONV_FROM_CHARS_HPP_INCLUDED
0008 
0009 #include <boost/json/detail/charconv/detail/config.hpp>
0010 #include <boost/json/detail/charconv/detail/from_chars_result.hpp>
0011 #include <boost/json/detail/charconv/chars_format.hpp>
0012 #include <system_error>
0013 
0014 namespace boost { namespace json { namespace detail { namespace charconv {
0015 
0016 //----------------------------------------------------------------------------------------------------------------------
0017 // Floating Point
0018 //----------------------------------------------------------------------------------------------------------------------
0019 
0020 namespace detail {
0021 
0022 std::errc errno_to_errc(int errno_value) noexcept;
0023 
0024 } // Namespace detail
0025 
0026 BOOST_JSON_DECL from_chars_result from_chars(const char* first, const char* last, double& value, chars_format fmt = chars_format::general) noexcept;
0027 
0028 } // namespace charconv
0029 } // namespace detail
0030 } // namespace json
0031 } // namespace boost
0032 
0033 #endif // #ifndef BOOST_JSON_DETAIL_CHARCONV_FROM_CHARS_HPP_INCLUDED