![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/variant-o.hpp"
provide a dispatcher table based visitation mechanism
Definition at line 124 of file variant-o.hpp.
Public Types | |
| typedef FUNCTOR::Ret | Ret |
| typedef Ret() | Func(Buffer &) |
Public Attributes | |
| Func * | table_ [TYPECNT] |
Static Public Member Functions | |
| template<typename T > | |
| static Ret | trampoline (Buffer &storage) |
Public Member Functions | |
| CaseSelect () | |
| Ret | invoke (Buffer &storage) |
Definition at line 131 of file variant-o.hpp.
References Holder< TYPES >::CaseSelect< FUNCTOR >::table_, and Holder< TYPES >::TYPECNT.
Definition at line 126 of file variant-o.hpp.
Definition at line 127 of file variant-o.hpp.
|
inlinestatic |
Definition at line 139 of file variant-o.hpp.
References Holder< TYPES >::Buffer::buffer_.
Definition at line 146 of file variant-o.hpp.
References Holder< TYPES >::access(), Holder< TYPES >::CaseSelect< FUNCTOR >::table_, Holder< TYPES >::TYPECNT, and Holder< TYPES >::Buffer::which_.
Referenced by Holder< TYPES >::access().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 129 of file variant-o.hpp.
Referenced by Holder< TYPES >::CaseSelect< FUNCTOR >::CaseSelect(), and Holder< TYPES >::CaseSelect< FUNCTOR >::invoke().
Collaboration diagram for Holder< TYPES >::CaseSelect< FUNCTOR >: