blob: 91a9ce0530decfd4d17257fc9f583c22219538de [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
2// (C) Copyright John Maddock 2010.
3// Use, modification and distribution are subject to the Boost Software License,
4// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt).
6//
7// See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9
Jeff Thompson3d613fd2013-10-15 15:39:04 -070010#ifndef NDNBOOST_TT_CONDITIONAL_HPP_INCLUDED
11#define NDNBOOST_TT_CONDITIONAL_HPP_INCLUDED
Jeff Thompsona28eed82013-08-22 16:21:10 -070012
13#include <ndnboost/mpl/if.hpp>
14
15namespace ndnboost {
16
17template <bool b, class T, class U>
18struct conditional : public mpl::if_c<b, T, U>
19{
20};
21
22} // namespace ndnboost
23
24
Jeff Thompson3d613fd2013-10-15 15:39:04 -070025#endif // NDNBOOST_TT_CONDITIONAL_HPP_INCLUDED