Regina Calculation Engine
|
Internal to ReturnsTraits. More...
#include <utilities/registryutils.h>
Public Types | |
enum | { value = (sizeof(test<T>(0)) == sizeof(yes)) } |
Internal to ReturnsTraits.
This class is used to detect at compile time whether the type T::ReturnType
exists.
If T::ReturnType exists, the enum constant HasReturnType<T>::value
will be non-zero (i.e., true). Otherwise HasReturnType<T>::value
will be zero (i.e., false).
anonymous enum |