PixelLightAPI  .
Static Public Attributes
PLCore::IsConvertible< From, To > Struct Template Reference

Check if two types are convertible. More...

#include <TypeTraits.h>

List of all members.

Static Public Attributes

static const bool Value = sizeof(test(*(static_cast<From*>(nullptr)), 0)) == 1

Detailed Description

template<typename From, typename To>
struct PLCore::IsConvertible< From, To >

Check if two types are convertible.

Parameters:
[in]FromFirst type
[in]ToSecond type
Remarks:
If (From) can be converted to (To), the value of Value is 'true', else 'false'

Member Data Documentation

template<typename From , typename To >
const bool PLCore::IsConvertible< From, To >::Value = sizeof(test(*(static_cast<From*>(nullptr)), 0)) == 1 [static]

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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:24
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported