MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
integer.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_FWD_INTEGER_HPP
13 #define BOOST_MPL11_FWD_INTEGER_HPP
14 
17 
18 
19 namespace boost { namespace mpl11 {
49  struct Integer;
50 
60  template <typename T, T v>
61  struct integer_c {
62  using value_type = T;
63  static constexpr value_type value = v;
64  constexpr operator value_type() const { return value; }
65  constexpr value_type operator()() const { return value; }
66  using type = integer_c;
67  using mpl_datatype = Integer;
68  };
69 
71  template <typename T, T v>
73 
75  template <bool B>
77 
80 
83 
85  template <char C>
87 
89  template <short N>
91 
93  template <unsigned short N>
95 
97  template <int N>
99 
101  template <unsigned int N>
103 
105  template <long N>
107 
109  template <unsigned long N>
111 
113  template <long long N>
115 
117  template <unsigned long long N>
119 
121  template <detail::std_size_t N>
124 }} // end namespace boost::mpl11
125 
126 #endif // !BOOST_MPL11_FWD_INTEGER_HPP
Alias to integer_c; provided for convenience.
Definition: integer.hpp:90
Alias to integer_c; provided for convenience.
Definition: integer.hpp:98
Alias to integer_c; provided for convenience.
Definition: integer.hpp:86
Alias to integer_c; provided for convenience.
Definition: integer.hpp:114
Manages configurable options of the library and defines utility macros.
Alias to integer_c; provided for convenience.
Definition: integer.hpp:106
Alias to integer_c; provided for convenience.
Definition: integer.hpp:102
Alias to integer_c; provided for convenience.
Definition: integer.hpp:118
Defines boost::mpl11::detail::std_size_t.
Integer holding the specified value.
Definition: integer.hpp:61
Alias to integer_c; provided for convenience.
Definition: integer.hpp:110
Alias to integer_c; provided for backward compatibility.
Definition: integer.hpp:72
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Alias to integer_c; provided for convenience.
Definition: integer.hpp:76
Alias to bool_; provided for convenience.
Definition: integer.hpp:82
Alias to bool_; provided for convenience.
Definition: integer.hpp:79
Alias to integer_c; provided for convenience.
Definition: integer.hpp:94