Public Types
icl_core::ConvertToRef< T > Struct Template Reference

#include <TemplateHelper.h>

List of all members.

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.

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:

autogenerated on Tue Aug 8 2017 02:28:05