3rdParty/boost/1.78.0/libs/mpl/doc/refmanual/not.html
| Prev Next | Back Along | Up Home | Full TOC | Front Page / Metafunctions / Logical Operations / not_ |
template<
typename F
>
struct[not\_](./not.html){
typedef_unspecified_type;
};
Returns the result of logical not (!) operation on its argument.
#include <[boost/mpl/not.hpp](../../../../boost/mpl/not.hpp)>
#include <[boost/mpl/logical.hpp](../../../../boost/mpl/logical.hpp)>
| Parameter | Requirement | Description |
|---|---|---|
| F | Nullary Metafunction | Operation's argument. |
For arbitrary nullary Metafunction f:
typedef[not\_](./not.html)<f>::type r;
| Return type: |
| | Semantics: |
Equivalent to
typedef[bool\_](./bool.html)< (!f::type::value) > r;
|
typedef[not\_](./not.html)<f> r;
| Return type: |
| | Semantics: |
Equivalent to
struct r :[not\_](./not.html)<f>::type {};
|
[BOOST\_MPL\_ASSERT\_NOT](./assert-not.html)(([not\_](./not.html)<[true\_](./bool.html)> ));[BOOST\_MPL\_ASSERT](./assert.html)(([not\_](./not.html)<[false\_](./bool.html)> ));
Metafunctions, Logical Operations, and_, or_
| Prev Next | Back Along | Up Home | Full TOC |
Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |