isPolymorphicType< T > Struct Template Reference

isPolymorphicType<T>::value is a compile time constant that is true only if T is a class with virtual methods. More...

#include <classTraits.h>

List of all members.

Public Types

enum  { value = imp_type::value }
typedef selector::template
rebind< T > 
binder
typedef binder::type imp_type
typedef
isPolymorphicType_selector
< isClassType< T >::value > 
selector

Detailed Description

template<class T>
struct cxxtls::isPolymorphicType< T >

isPolymorphicType<T>::value is a compile time constant that is true only if T is a class with virtual methods.

The implementation of this class uses a very sophisticated method to to determine if T is a pointer, arithmetic, enumeration, etc. The idea is stolen from boost, which is stolen from the iostreams code.

See also:
classTraits_documentation

Definition at line 777 of file classTraits.h.


Member Typedef Documentation

typedef selector::template rebind<T> binder

Definition at line 809 of file classTraits.h.

typedef binder::type imp_type

Definition at line 810 of file classTraits.h.

Definition at line 796 of file classTraits.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
value 

Definition at line 811 of file classTraits.h.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 29 22:55:57 2012 for CXXUtilities by  doxygen 1.6.3