This is Unofficial EPICS BASE Doxygen Site
epics::pvData::meta::decorate_const< T > Struct Template Reference

#include "templateMeta.h"

Public Types

typedef const T type
 

Detailed Description

template<typename T>
struct epics::pvData::meta::decorate_const< T >

If needed, add the 'const' qualifier to the provided type.

Avoids adding the const qualifier twice (aka 'const const int')

assert(typeid(decorate_const<int>::type)==typeid(const int));
assert(typeid(decorate_const<const int>::type)==typeid(const int));

Definition at line 34 of file templateMeta.h.

Member Typedef Documentation

template<typename T>
typedef const T epics::pvData::meta::decorate_const< T >::type

Definition at line 34 of file templateMeta.h.


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