12 #ifndef BOOST_MPL11_DETAIL_TEST_EXPECT_HPP
13 #define BOOST_MPL11_DETAIL_TEST_EXPECT_HPP
22 namespace boost {
namespace mpl11 {
namespace detail {
23 template <
typename ...xs>
26 static constexpr std_size_t go[] = {0,
sizeof(xs)...};
28 using type = instantiate;
31 template <
typename ...xs>
33 static_assert(dependent<xs...>::value(
false),
"");
36 template <
typename expr>
38 template <
template <
typename ...>
class Bool>
40 template <
typename r,
bool =
41 Bool<equal<expr, r>>::value &&
42 !Bool<not_equal<expr, r>>::value
49 show<typename expr::type, typename r::type>
52 template <
typename predicate>
59 template <
typename comparison>
61 template <
typename r,
bool = Bool<
69 , show<typename expr::type, typename r::type>
76 template <
template <
typename ...>
class f>
77 using be_ = be<lift<f>>;
81 using not_to = _to<not_>;
84 using to_eq =
typename to::template eq<r>;
86 template <
typename pred>
87 using to_satisfy =
typename to::template satisfy<pred>;
91 #endif // !BOOST_MPL11_DETAIL_TEST_EXPECT_HPP
Defines boost::mpl11::detail::std_size_t.
Defines the Logical module.
Defines boost::mpl11::detail::dependent.
Forward declares the Comparable typeclass.
Invokes a metafunction class with the given arguments.
Definition: functional.hpp:39
Defines the Functional module.