Public Types | List of all members
icl_core::ConvertToRef< T > Struct Template Reference

#include <TemplateHelper.h>

Public Types

typedef const T & ToConstRef
 
typedef T & ToRef
 

Detailed Description

template<typename T>
struct icl_core::ConvertToRef< T >

Converts the type T to either a reference or a const reference. If T already is a reference it is left untouched.

Note
You have to add a typename declaration if you use this converter.

Definition at line 37 of file TemplateHelper.h.

Member Typedef Documentation

template<typename T>
typedef const T& icl_core::ConvertToRef< T >::ToConstRef

Definition at line 39 of file TemplateHelper.h.

template<typename T>
typedef T& icl_core::ConvertToRef< T >::ToRef

Definition at line 40 of file TemplateHelper.h.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59