123456789101112131415161718192021222324252627282930313233 |
- // Copyright (c) 2009-2020 Vladimir Batov.
- // Use, modification and distribution are subject to the Boost Software License,
- // Version 1.0. See http://www.boost.org/LICENSE_1_0.txt.
- #ifndef BOOST_CONVERT_PARAMETERS_HPP
- #define BOOST_CONVERT_PARAMETERS_HPP
- #include <boost/parameter/name.hpp>
- #include <boost/parameter/is_argument_pack.hpp>
- #include <boost/mpl/has_key.hpp>
- namespace boost { namespace cnv
- {
- enum class adjust : uint8_t { left, right, center };
- enum class base : uint8_t { bin =2, oct =8, dec =10, hex =16 };
- enum class notation : uint8_t { fixed, scientific, hex };
- namespace parameter
- {
- BOOST_PARAMETER_NAME(( adjust, type) adjust)
- BOOST_PARAMETER_NAME(( base, type) base)
- BOOST_PARAMETER_NAME(( fill, type) fill)
- BOOST_PARAMETER_NAME(( locale, type) locale)
- BOOST_PARAMETER_NAME(( notation, type) notation)
- BOOST_PARAMETER_NAME((precision, type) precision)
- BOOST_PARAMETER_NAME(( skipws, type) skipws)
- BOOST_PARAMETER_NAME((uppercase, type) uppercase)
- BOOST_PARAMETER_NAME((lowercase, type) lowercase)
- BOOST_PARAMETER_NAME(( width, type) width)
- }
- }}
- #endif // BOOST_CONVERT_PARAMETERS_HPP
|