![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
a checked, switchable reference. More...
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"Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
Classes | |
| class | OptionalRef< T > |
| Optional or switchable link to an existing object. More... | |
Functions | |
| template<typename T > | |
| OptionalRef< T > | optionalRefTo (T &target) |