PVData C++ 8.0.7
Loading...
Searching...
No Matches
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.

Member Typedef Documentation

◆ type

template<typename T >
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: