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

If the provided type is a union type, provides the member constant value equal to true. Otherwise the member constant value is false. More...

#include <is_union.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_union< T >

If the provided type is a union type, provides the member constant value equal to true. Otherwise the member constant value is false.

Note
"union" is not supported by the BSL as it is not compliant with AUTOSAR. We only provide this function so that it can be used to internally as tagged unions (which are compliant) as used to implement some BSL functionality for the user.
Template Parameters
Tthe type to query

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