]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_traits/test/mpl_interop_test2.cpp
2 // (C) Copyright John Maddock 2000.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #include <boost/type_traits/is_void.hpp>
8 #include <boost/mpl/if.hpp>
9 #include <boost/static_assert.hpp>
14 typedef typename
boost::mpl::if_
<
19 if_test
<void>::type t1
= 0;
20 if_test
<double>::type t2
= 0;
24 return (int)(t1
+ t2
);