#include <Magnum/Math/TypeTraits.h>
template<class T>
IsScalar struct new in 2019.10
Whether T
is an arithmetic scalar type.
Equivalent to std::
Note that this is different from std::true
also for enums or pointers — it's rather closer to std::bool
. The name is chosen particularly for the IsVector / IsScalar distinction.