chsvlib
chsv helper source code
is_testable_by_negation< T > Struct Template Reference

Checks whether a type T supports an unary negation operator, that is whether for an object T x an expression !x would be well-formed and convertible to bool. More...

#include <chsvmetafun.h>

Inheritance diagram for is_testable_by_negation< T >:
Collaboration diagram for is_testable_by_negation< T >:

Detailed Description

template<class T>
struct Chusov::is_testable_by_negation< T >

Checks whether a type T supports an unary negation operator, that is whether for an object T x an expression !x would be well-formed and convertible to bool.

Template Parameters
Tis a type to be checked.

The documentation for this struct was generated from the following file: