LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Attributes | List of all members
llvm::is_base_of< Base, Derived > Struct Template Reference

#include <type_traits.h>

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

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 197 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 199 of file type_traits.h.


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