File indexing completed on 2025-01-18 09:30:27
0001
0002
0003
0004
0005 #ifndef BOOST_CONVERT_PARAMETERS_HPP
0006 #define BOOST_CONVERT_PARAMETERS_HPP
0007
0008 #include <boost/parameter/name.hpp>
0009 #include <boost/parameter/is_argument_pack.hpp>
0010 #include <boost/mpl/has_key.hpp>
0011
0012 namespace boost { namespace cnv
0013 {
0014 enum class adjust : uint8_t { left, right, center };
0015 enum class base : uint8_t { bin =2, oct =8, dec =10, hex =16 };
0016 enum class notation : uint8_t { fixed, scientific, hex };
0017
0018 namespace parameter
0019 {
0020 BOOST_PARAMETER_NAME(( adjust, type) adjust)
0021 BOOST_PARAMETER_NAME(( base, type) base)
0022 BOOST_PARAMETER_NAME(( fill, type) fill)
0023 BOOST_PARAMETER_NAME(( locale, type) locale)
0024 BOOST_PARAMETER_NAME(( notation, type) notation)
0025 BOOST_PARAMETER_NAME((precision, type) precision)
0026 BOOST_PARAMETER_NAME(( skipws, type) skipws)
0027 BOOST_PARAMETER_NAME((uppercase, type) uppercase)
0028 BOOST_PARAMETER_NAME((lowercase, type) lowercase)
0029 BOOST_PARAMETER_NAME(( width, type) width)
0030 }
0031 }}
0032
0033 #endif