![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/access-casted.hpp"
Helper template to access a given value, possibly converted or casted in a safe way.
Definition at line 144 of file access-casted.hpp.
Public Types | |
| typedef TAR | Ret |
Static Public Member Functions | |
| template<typename SRC > | |
| static if_can_use_dynamic_downcast< SRC &&, TAR >::type | access (SRC &&elem) |
| template<typename SRC > | |
| static if_can_use_conversion< SRC &&, TAR >::type | access (SRC &&elem) |
| template<typename SRC > | |
| static if_can_take_address< SRC &&, TAR >::type | access (SRC &&elem) |
| template<typename SRC > | |
| static if_can_dereference< SRC &&, TAR >::type | access (SRC &&elem) |
| static TAR | access (...) |
| catch-all to signal failure of conversion | |
| typedef TAR Ret |
Definition at line 146 of file access-casted.hpp.
|
inlinestatic |
Definition at line 151 of file access-casted.hpp.
Referenced by InPlaceBuffer< BA, siz, DEFAULT >::access(), AccessCasted< TAR >::access(), InPlaceAnyHolder_useCommonBase< BA >::convert2base(), and AccessCasted_test::run().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 168 of file access-casted.hpp.
|
inlinestatic |
Definition at line 176 of file access-casted.hpp.
References AccessCasted< TAR >::access().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 184 of file access-casted.hpp.
References AccessCasted< TAR >::access().
Here is the call graph for this function:
|
inlinestatic |
catch-all to signal failure of conversion
Definition at line 196 of file access-casted.hpp.
Collaboration diagram for AccessCasted< TAR >: