MPL11
All Classes Namespaces Files Typedefs Macros Groups Pages
core.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_FWD_CORE_HPP
13 #define BOOST_MPL11_FWD_CORE_HPP
14 
16 
17 
18 namespace boost { namespace mpl11 {
48  template <template <typename ...> class Typeclass>
49  struct instantiate;
50 
61  struct Foreign;
62 
75  template <typename ctor>
76  struct datatype;
77 
78  namespace core_detail { template <typename...> struct undefined_; }
79 
87  BOOST_MPL11_DOXYGEN_ALIAS(undefined, core_detail::undefined_<>);
88 
90  template <typename x>
91  struct box;
92 
103  template <typename From, typename To>
104  struct cast;
105 
111  template <typename To>
112  struct cast_to;
113 
118  namespace core {
119  using mpl11::instantiate;
120  using mpl11::Foreign;
121  using mpl11::datatype;
122  using mpl11::undefined;
123  using mpl11::box;
124  using mpl11::cast;
125  using mpl11::cast_to;
126  }
128 }} // end namespace boost::mpl11
129 
130 #endif // !BOOST_MPL11_FWD_CORE_HPP
Boxes its argument.
Definition: core.hpp:46
Returns the datatype of the given data constructor.
Definition: core.hpp:60
Holds default methods of typeclasses.
Definition: core.hpp:37
Manages configurable options of the library and defines utility macros.
Represents the bottom value of most functional programming languages.
Definition: core.hpp:87
Metafunction class converting an object of the From datatype to an object of the To datatype...
Definition: core.hpp:126
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Metafunction class converting an object to the To datatype.
Definition: core.hpp:68