![]() |
Blaze 3.9
|
Compile time size check. More...
#include <HaveSameSize.h>
Inherits blaze::IntegralConstant< T, N >.
Compile time size check.
This class offers the possibility to test the size of two types at compile time. If an object of type T1 has the same size as an object of type T2, 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.
One example for the application of this type trait is a compile time check if the compiler supports the 'Empty Derived class Optimization (EDO)':