]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_traits/test/negation_test.cpp
604b7fe2d49897fcb03f51b1ecc9373d868357d0
2 Copyright 2020 Glen Joseph Fernandes
5 Distributed under the Boost Software License,
6 Version 1.0. (See accompanying file LICENSE_1_0.txt
7 or copy at http://www.boost.org/LICENSE_1_0.txt)
10 #include <type_traits>
12 #include <boost/type_traits/negation.hpp>
14 #include "check_integral_constant.hpp"
18 static const int value
= V
;
21 TT_TEST_BEGIN(negation
)
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::negation
<Int
<5> >::value
, false);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::negation
<Int
<0> >::value
, true);