6 #ifndef BOOST_MPL11_TEST_TEST_METHOD_DISPATCH_HPP
7 #define BOOST_MPL11_TEST_TEST_METHOD_DISPATCH_HPP
13 template <
unsigned level = 0>
16 template <
unsigned level = 0>
18 struct type {
using mpl_datatype = Archetype<level>; };
21 namespace boost {
namespace mpl11 {
22 template <
unsigned from,
unsigned to>
23 struct cast<Archetype<from>, Archetype<to>> {
26 using apply = archetype<to>;
30 template <
template <
typename ...>
class f>
31 struct method_tag {
using type = method_tag; };
33 template <
template <
typename ...>
class f,
typename ...args>
36 typename f<args...>::type,
41 #endif // !BOOST_MPL11_TEST_TEST_METHOD_DISPATCH_HPP
Defines boost::mpl11::detail::std_is_same.
Invokes a metafunction class with the given arguments.
Definition: functional.hpp:39
Equivalent to std::is_same; except it only has a nested ::value and a nested ::type.
Definition: std_is_same.hpp:23