Searched refs:mp_if_c (Results 1 – 14 of 14) sorted by relevance
/third_party/boost/libs/mp11/test/ |
D | mp_if.cpp | 17 using boost::mp11::mp_if_c; in main() 19 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if_c<true, char[], void()>, char[]>)); in main() 20 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if_c<false, char[], void()>, void()>)); in main()
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | utility.adoc | 60 ## mp_if_c<C, T, E...> 62 template<bool C, class T, class... E> using mp_if_c = /*...*/; 64 `mp_if_c<true, T, E...>` is an alias for `T`. `mp_if_c<false, T, E>` is an alias for `E`. Otherwise… 66 .Using mp_if_c to select between two alternatives 68 using R1 = mp_if_c<true, int, void>; // int 70 using R2 = mp_if_c<false, int, void>; // void 73 .Using mp_if_c to fail substitution when a condition is not met 75 template<class I> using void_if_5 = mp_if_c<I::value == 5, void>; 84 mp_if_c<static_cast<bool>(C::value), T, E...>; 86 Like `mp_if_c`, but the first argument is a type.
|
/third_party/boost/libs/safe_numerics/test/ |
D | test_notepad.hpp | 4 BOOST_MP11_CONSTEXPR mp_if_c<mp_size<L>::value <= 1024, F> mp_for_each_1( F && f ){ in mp_for_each_1() 8 BOOST_MP11_CONSTEXPR mp_if_c<mp_size<L>::value >= 1025, F> mp_for_each_1( F && f ){
|
/third_party/boost/boost/mp11/detail/ |
D | mp_append.hpp | 161 …using type = mp_if_c<(sizeof...(L) > 111), mp_quote<append_inf_impl>, mp_if_c<(sizeof...(L) > 11),… 170 template<class... L> struct mp_append_impl: mp_if_c<(sizeof...(L) > 111), mp_quote<append_inf_impl>…
|
/third_party/boost/boost/gil/extension/io/pnm/detail/ |
D | write.hpp | 115 return mp11::mp_if_c in get_type() 126 return mp11::mp_if_c in get_type()
|
/third_party/boost/boost/histogram/detail/ |
D | mutex_base.hpp | 26 class DetailMutex = mp11::mp_if_c<(Storage::has_threading_support &&
|
D | common_type.hpp | 42 using common_storage = mp11::mp_if_c<(type_rank<T>() >= type_rank<U>()), T, U>;
|
D | axes.hpp | 103 return std::vector<mp_if_c<(mp_size<L>::value == 1), mp_first<L>, L>>{}; in make_empty_dynamic_axes()
|
/third_party/boost/boost/gil/ |
D | bit_aligned_pixel_reference.hpp | 36 using byte_t = mp11::mp_if_c<IsMutable, unsigned char, unsigned char const>; 127 using data_ptr_t = mp11::mp_if_c<IsMutable, unsigned char*, const unsigned char*>;
|
D | image_view_factory.hpp | 374 using reference = mp11::mp_if_c<is_mutable, ref_t, value_type>; 511 using reference = mp11::mp_if_c<is_mutable, ref_t, value_type>;
|
/third_party/boost/boost/gil/extension/toolbox/image_types/ |
D | subchroma_image.hpp | 48 mp11::mp_if_c 52 mp11::mp_if_c
|
/third_party/boost/boost/mp11/ |
D | utility.hpp | 53 template<bool C, class T, class... E> using mp_if_c = typename detail::mp_if_c_impl<C, T, E...>::ty… typedef
|
D | algorithm.hpp | 357 using type = mp_if_c<(I < mp_size<L>::value), detail::mp_at_c_impl<L, I>, void>; 370 template<class L, std::size_t I> using mp_at_c = typename mp_if_c<(I < mp_size<L>::value), detail::… 1053 template<class L, class F> BOOST_MP11_CONSTEXPR mp_if_c<mp_size<L>::value <= 1024, F> mp_for_each( … in mp_for_each() 1058 template<class L, class F> BOOST_MP11_CONSTEXPR mp_if_c<mp_size<L>::value >= 1025, F> mp_for_each( …
|
/third_party/boost/libs/mp11/doc/article/ |
D | simple_cxx11_metaprogramming_2.adoc | 73 using mp_if_c = typename mp_if_c_impl<C, T, E>::type;
|