28 #ifndef INCLUDED_And_h_GUID_9FF8A8BB_A3FE_4EBC_E400_07158E7E3B6D 29 #define INCLUDED_And_h_GUID_9FF8A8BB_A3FE_4EBC_E400_07158E7E3B6D 40 #include <type_traits> 47 template <
typename... Bools>
struct and_impl;
49 template <>
struct and_impl<> : std::true_type {};
51 template <
typename Bool,
typename... Bools>
52 struct and_impl<
Bool, Bools...>
53 :
if_<bool_<!Bool::type::value>, std::false_type,
54 and_impl<Bools...>> {};
61 template <
typename... Bools>
using and_ =
t_<detail::and_impl<Bools...>>;
65 #endif // INCLUDED_And_h_GUID_9FF8A8BB_A3FE_4EBC_E400_07158E7E3B6D The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
t_< detail::and_impl< Bools... >> and_
Logically and together all the integral constant-wrapped Boolean parameters, with short-circuiting...
Definition: And.h:61
Definition: gtest_pred_impl_unittest.cc:56
Definition: newuoa.h:1888
t_< detail::if_impl< Args... >> if_
Select one type or another depending on a compile-time Boolean integral constant type.
Definition: If.h:61
typename T::type t_
A convenience alias template to extract the nested type within the supplied T.
Definition: T.h:52