LLVM API Documentation

Static Public Attributes
llvm::is_integral_or_enum< T > Class Template Reference

Metafunction that determines whether the given type is either an integral type or an enumeration type. More...

#include <type_traits.h>

Collaboration diagram for llvm::is_integral_or_enum< T >:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

static const bool value

Detailed Description

template<typename T>
class llvm::is_integral_or_enum< T >

Metafunction that determines whether the given type is either an integral type or an enumeration type.

Note that this accepts potentially more integral types than is_integral because it is based on merely being convertible implicitly to an integral type.

Definition at line 54 of file type_traits.h.


Member Data Documentation

template<typename T >
const bool llvm::is_integral_or_enum< T >::value [static]
Initial value:
      !std::is_class<UnderlyingT>::value && 
      !std::is_pointer<UnderlyingT>::value &&
      !std::is_floating_point<UnderlyingT>::value &&
      std::is_convertible<UnderlyingT, unsigned long long>::value

Definition at line 58 of file type_traits.h.


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