]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/tti/test/test_has_type_ct_fail.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / tti / test / test_has_type_ct_fail.cpp
1
2 // (C) Copyright Edward Diener 2011
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 #include "test_has_type.hpp"
8 #include <boost/mpl/assert.hpp>
9 #include <boost/mpl/placeholders.hpp>
10 #include <boost/type_traits/is_same.hpp>
11 using namespace boost::mpl::placeholders;
12
13 int main()
14 {
15
16 // NoOtherType does not exist at all
17
18 BOOST_MPL_ASSERT((BOOST_TTI_HAS_TYPE_GEN(NoOtherType)<AType,boost::is_same<int,_> >));
19
20 return 0;
21
22 }