Empirical
|
#include <attrs.h>
Public Member Functions | |
template<class T > | |
constexpr const T & | operator() (const value_t< T > &target) const |
template<class T > | |
constexpr T & | operator() (value_t< T > &target) const |
template<class T > | |
constexpr T && | operator() (value_t< T > &&target) const |
template<class T > | |
constexpr const T && | operator() (const value_t< T > &&target) const |
Given an attribute pack, Get(pack) will extract the value of this attribute in that pack. It lives in this strange container struct because that allows it to be passed into mapping function functions, so you can do something like: std::vector<SomeAttributePack> packs; std::transform(packs.begin(), packs.end(), MyAttr::Get);
|
inline |
|
inline |
|
inline |
|
inline |