Project
Loading...
Searching...
No Matches
gNeric::get_value< U > Class Template Reference

Getter functor, forwards to the container mixin's get function. More...

#include <runtime_container.h>

Classes

class  NullType
 

Public Types

typedef U return_type
 
typedef U value_type
 

Public Member Functions

template<typename T >
return_type operator() (T &t)
 

Detailed Description

template<typename U>
class gNeric::get_value< U >

Getter functor, forwards to the container mixin's get function.

TODO: make a type trait to either return t.get() if its a container instance or t directly if it is the member object

Definition at line 198 of file runtime_container.h.

Member Typedef Documentation

◆ return_type

template<typename U >
typedef U gNeric::get_value< U >::return_type

Definition at line 200 of file runtime_container.h.

◆ value_type

template<typename U >
typedef U gNeric::get_value< U >::value_type

Definition at line 201 of file runtime_container.h.

Member Function Documentation

◆ operator()()

template<typename U >
template<typename T >
return_type gNeric::get_value< U >::operator() ( T &  t)
inline

Definition at line 230 of file runtime_container.h.


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