isConvertibleType< From, To > Struct Template Reference

isConvertible<From,To>::value is a compile time constant which is true if type From can be converted into type To without special syntax. More...

#include <classTraits.h>

List of all members.

Public Types

enum  constants { value = sizeof( f(fromp) ) == sizeof( f(top) ) }

Static Public Member Functions

static int f (To)
static char f (...)

Static Public Attributes

static From fromp
static To top

Detailed Description

template<class From, class To>
struct cxxtls::isConvertibleType< From, To >

isConvertible<From,To>::value is a compile time constant which is true if type From can be converted into type To without special syntax.

For example an character can be converted into an integer, but a a pointer cannot be converted into an integer without a cast.

See also:
classTraits_documentation

Definition at line 380 of file classTraits.h.


Member Enumeration Documentation

enum constants
Enumerator:
value 

Definition at line 413 of file classTraits.h.


Member Function Documentation

static int f ( To   )  [static]
static char f (   ...  )  [static]

Member Data Documentation

From fromp [static]

Definition at line 397 of file classTraits.h.

To top [static]

Definition at line 398 of file classTraits.h.


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