Using type properties, I can find out if the type is an integral or a pointer (or more). Is it also possible to find out if the passed pointer passed an integral type (int, float , char), and not an object?
EDIT: In addition to Armen, answer if someone uses the LOKI library instead of Boost, the remove pointer
functionality is similar to TypeTraits::PointeeType
source share