The Vish Visualization Shell 0.3
Vish
Public Types | Static Public Member Functions | List of all members
MemCore::RefPtrTypeTrait< RefType, RefTypeBase > Class Template Reference

Default type trait for the RefPtr pointer -> operator. More...

#include <elementary/memcore/RefPtr.hpp>

Public Types

typedef RefType * ReferencePointerType
 The return type for operator ->
 
typedef RefType ReferenceValueType
 The return type for operator * (the *-operator actually returns a reference to this type)
 

Static Public Member Functions

static ReferencePointerType dereference (RefType *data)
 A function which can make the desired return object out of a pointer to the referenced type.
 

Detailed Description

template<class RefType, class RefTypeBase>
class MemCore::RefPtrTypeTrait< RefType, RefTypeBase >

Default type trait for the RefPtr pointer -> operator.

By default, just returns a pointer to the reference type.