Defined in header <type_traits> template< class T >
struct is_scalar; (since C++11)
If T is a scalar type (that is, arithmetic type, enumeration type, pointer, pointer to member, or std::nullptr_t, including any cv-qualified variants), provides the member constant value equal true. For any other type, value is false.
Template parameters
T - a type to check
Helper variable template
template< class T >
constexpr bool is_scalar_v = is_scalar<T&g