My Project
List of all members
bsl::is_integral< T > Class Template Referencefinal

If the provided type is an integral type (taking into account const qualifications), provides the member constant value equal to true. Otherwise the member constant value is false. More...

#include <is_integral.hpp>

Inherits bsl::integral_constant< T, v >.

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< T, v >
using type = integral_constant< T, v >
 provides the member typedef "type"
 
using value_type = T
 provides the member typedef "value_type"
 
- Static Public Attributes inherited from bsl::integral_constant< T, v >
static constexpr value_type value {v}
 the type T that stores the integral constant
 

Detailed Description

template<typename T>
class bsl::is_integral< T >

If the provided type is an integral type (taking into account const qualifications), provides the member constant value equal to true. Otherwise the member constant value is false.

#include <bsl/debug.hpp>
namespace bsl
{
inline void
example_is_integral_overview() noexcept
{
bsl::print() << "success\n";
}
}
}
Note
We only support the cstdint.hpp basic fixed-width types which is different compared to the standard library version of this type trait. This is because, the fixed-width types are the only types that we support.
Template Parameters
Tthe type to query

The documentation for this class was generated from the following file: