![]() |
Blaze 3.9
|
Availability of an addition operator for the given data types. More...
#include <HasAdd.h>
Inherits HasAddHelper< T1, T2 >.
Availability of an addition operator for the given data types.
This type trait provides the information whether an addition operator (i.e. operator+) exists for the two given data types T1 and T2 (taking the cv-qualifiers into account). In case the operator is available, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.