2 Copyright 2020 Glen Joseph Fernandes
5 Distributed under the Boost Software License,
6 Version 1.0. (See accompanying file LICENSE_1_0.txt
7 or copy at http://www.boost.org/LICENSE_1_0.txt)
10 #ifndef BOOST_TT_CONJUNCTION_HPP_INCLUDED
11 #define BOOST_TT_CONJUNCTION_HPP_INCLUDED
13 #include <boost/type_traits/conditional.hpp>
14 #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
15 #include <boost/type_traits/integral_constant.hpp>
20 #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
29 template<class T, class... U>
30 struct conjunction<T, U...>
31 : conditional<bool(T::value), conjunction<U...>, T>::type { };
33 template<class T, class U>
35 : conditional<bool(T::value), U, T>::type { };