lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Static Public Member Functions | Static Public Attributes
lean::meta::maybe_dereference_once< Type > Struct Template Reference

Dereferences a given value type once, if the value type is a pointer type. More...

#include <dereference.h>

List of all members.

Public Types

typedef
internal_dereferencer::value_type 
value_type
 Value type after dereferencing.

Static Public Member Functions

static LEAN_INLINE
internal_dereferencer::return_type 
dereference (typename internal_dereferencer::parameter_type value)
 Dereferences the given value parameter once, if the value is of a pointer type.
static LEAN_INLINE
internal_dereferencer::const_return_type 
dereference (typename internal_dereferencer::const_parameter_type value)
 Dereferences the given value parameter once, if the value is of a pointer type.

Static Public Attributes

static const bool dereferenced = internal_dereferencer::dereferenced
 True, if any dereferencing performed.

Detailed Description

template<class Type>
struct lean::meta::maybe_dereference_once< Type >

Dereferences a given value type once, if the value type is a pointer type.


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