Lumiera  0.pre.03
»edit your freedom«
RefTraits< TY > Struct Template Reference

#include "lib/meta/trait.hpp"

Description

template<typename TY>
struct lib::meta::RefTraits< TY >

Type definition helper for pointer and reference types.

Allows to create a member field and to get the basic type irrespective if the given type is plain, pointer or reference

Note
we do treat pointers specific though; a pointer is itself a value and the pointer-indirection is not stripped. (use meta::Strip to radically strip all adornments)

Definition at line 270 of file trait.hpp.

Public Types

typedef TY * Pointer
 
typedef TY & Reference
 
typedef TY Value
 

Member Typedef Documentation

◆ Value

typedef TY Value

Definition at line 272 of file trait.hpp.

◆ Pointer

typedef TY* Pointer

Definition at line 273 of file trait.hpp.

◆ Reference

typedef TY& Reference

Definition at line 274 of file trait.hpp.

+ Collaboration diagram for RefTraits< TY >:

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