1/*
2Copyright 2020 Glen Joseph Fernandes
3(glenjofe@gmail.com)
4
5Distributed under the Boost Software License,
6Version 1.0. (See accompanying file LICENSE_1_0.txt
7or copy at http://www.boost.org/LICENSE_1_0.txt)
8*/
9
10#ifndef BOOST_TT_NEGATION_HPP_INCLUDED
11#define BOOST_TT_NEGATION_HPP_INCLUDED
12
13#include <boost/type_traits/integral_constant.hpp>
14
15namespace boost {
16
17template<class T>
18struct negation
19 : integral_constant<bool, !bool(T::value)> { };
20
21} /* boost */
22
23#endif
24

source code of include/boost/type_traits/negation.hpp