STK++ 0.9.13
|
Convenient structure for computing the product of two template integer parameters without overflow. More...
#include <STK_MetaTemplate.h>
Public Types | |
enum | { prod_ = ProductSizesHelper< Size1 >= SqrtUnknownSize , Size2 = SqrtUnknownSize , Size1 , prod_ = ProductSizesHelper< Size1 >= SqrtUnknownSize } |
Convenient structure for computing the product of two template integer parameters without overflow.
Compute the product Size1*Size2 trick as some compilers (g++ 4 and 5 at least) complain about overflow otherwise.
Definition at line 158 of file STK_MetaTemplate.h.
Enumerator | |
---|---|
prod_ | |
Size2 | |
Size1 | |
prod_ |
Definition at line 158 of file STK_MetaTemplate.h.