2 Copyright 2003 The Trustees of Indiana University
4 Authors: Jaakko Jarvi (jajarvi at osl.iu.edu)
5 Jeremiah Willcock (jewillco at osl.iu.edu)
6 Andrew Lumsdaine (lums at osl.iu.edu)
8 Copyright 2018 Glen Joseph Fernandes
11 Distributed under the Boost Software License,
12 Version 1.0. (See accompanying file LICENSE_1_0.txt
13 or copy at http://www.boost.org/LICENSE_1_0.txt)
15 #ifndef BOOST_TT_ENABLE_IF_HPP_INCLUDED
16 #define BOOST_TT_ENABLE_IF_HPP_INCLUDED
18 #include <boost/config.hpp>
22 template<bool B, class T = void>
28 struct enable_if_<false, T> { };
30 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
31 template<bool B, class T = void>
32 using enable_if_t = typename enable_if_<B, T>::type;