// (C) Copyright Jeremy Siek 2000. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // This header replaces the implementation of ct_if that preceded the // introduction of Boost.MPL with a facade that defers to that reviewed and // accepted library. // Author: Ronald Garcia // Date: 20 October, 2006 #ifndef BOOST_CT_IF_HPP #define BOOST_CT_IF_HPP // A stub implementation in terms of Boost.MPL #include #include #include // true_type and false_type are used by applications of ct_if #include namespace boost { template struct ct_and : boost::mpl::and_ {}; template struct ct_not : mpl::not_ {}; template struct ct_if : mpl::if_c {}; template struct ct_if_t : mpl::if_ {}; } // namespace boost #endif // BOOST_CT_IF_HPP