]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright (c) 2009-2016 Vladimir Batov. |
2 | // Use, modification and distribution are subject to the Boost Software License, | |
3 | // Version 1.0. See http://www.boost.org/LICENSE_1_0.txt. | |
4 | ||
5 | #ifndef BOOST_CONVERT_PARAMETERS_HPP | |
6 | #define BOOST_CONVERT_PARAMETERS_HPP | |
7 | ||
8 | #include <boost/convert/detail/boost_parameter_ext.hpp> | |
9 | ||
10 | namespace boost | |
11 | { | |
12 | namespace cnv | |
13 | { | |
14 | struct adjust { enum type { left, right, center };}; | |
15 | struct base { enum type { bin =2, dec =10, hex =16, oct =8 };}; | |
16 | struct notation { enum type { fixed, scientific };}; | |
17 | ||
18 | namespace parameter | |
19 | { | |
20 | BOOST_PARAMETER_KEYWORD(type, adjust) | |
21 | BOOST_PARAMETER_KEYWORD(type, base) | |
22 | BOOST_PARAMETER_KEYWORD(type, fill) | |
23 | BOOST_PARAMETER_KEYWORD(type, locale) | |
24 | BOOST_PARAMETER_KEYWORD(type, notation) | |
25 | BOOST_PARAMETER_KEYWORD(type, precision) | |
26 | BOOST_PARAMETER_KEYWORD(type, skipws) | |
27 | BOOST_PARAMETER_KEYWORD(type, uppercase) | |
28 | BOOST_PARAMETER_KEYWORD(type, width) | |
29 | } | |
30 | } | |
31 | } | |
32 | ||
33 | #endif // BOOST_CONVERT_PARAMETERS_HPP |