Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
a checked, switchable reference.
Offers semantics similar to a pointer, but throws (not segfaults) on invalid dereferentiation
Definition in file optional-ref.hpp.
#include "lib/error.hpp"
Classes | |
class | OptionalRef< T > |
Optional or switchable link to an existing object. More... | |
Functions | |
template<typename T > | |
OptionalRef< T > | optionalRefTo (T &target) |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |