LLVM API Documentation

llvm::is_base_of< Base, Derived > Struct Template Reference

#include <type_traits.h>

Collaboration diagram for llvm::is_base_of< Base, Derived >:
[legend]

List of all members.

Static Public Attributes

static const bool value


Detailed Description

template<typename Base, typename Derived>
struct llvm::is_base_of< Base, Derived >

is_base_of - Metafunction to determine whether one type is a base class of (or identical to) another type.

Definition at line 73 of file type_traits.h.


Member Data Documentation

template<typename Base, typename Derived>
const bool llvm::is_base_of< Base, Derived >::value [static]

Initial value:

 is_class<Base>::value && is_class<Derived>::value &&
      sizeof(char) == sizeof(dont_use::base_of_helper<Base>((Derived*)0))

Definition at line 75 of file type_traits.h.


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