![]() |
Compile time value evaluation.The Min class template selects the smaller of the two given template arguments T1 and T2. In order for Min to be able to determine the smaller type, both arguments are required to have a nested member value. In case T1::value is smaller than T2::value, the nested type definition Type is set to T1, otherwise it is set to T2. More...
#include <Min.h>
Inherits Type< Less< T1, T2 >, T1, T2 >.
Compile time value evaluation.
The Min class template selects the smaller of the two given template arguments T1 and T2. In order for Min to be able to determine the smaller type, both arguments are required to have a nested member value. In case T1::value is smaller than T2::value, the nested type definition Type is set to T1, otherwise it is set to T2.