PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | List of all members
epics::pvData::meta::decorate_const< T > Struct Template Reference

#include <misc/pv/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.


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