Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright 2023 Matt Borland
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // https://www.boost.org/LICENSE_1_0.txt
0004 
0005 #ifndef BOOST_JSON_DETAIL_CHARCONV_CHARS_FORMAT_HPP
0006 #define BOOST_JSON_DETAIL_CHARCONV_CHARS_FORMAT_HPP
0007 
0008 namespace boost { namespace json { namespace detail { namespace charconv {
0009 
0010 // Floating-point format for primitive numerical conversion
0011 // chars_format is a bitmask type (16.3.3.3.3)
0012 enum class chars_format : unsigned
0013 {
0014     scientific = 1 << 0,
0015     fixed = 1 << 1,
0016     hex = 1 << 2,
0017     general = fixed | scientific
0018 };
0019 
0020 }}}} // Namespaces
0021 
0022 #endif // BOOST_JSON_DETAIL_CHARCONV_CHARS_FORMAT_HPP