- Test:
- verify a reference-like wrapper class, used to provide a switchable link to an already existing object.
- bottom ref can be detected by bool check
- access to bottom ref raises exception
- refs can be compared
- refs can be changed and copied
- access to refs is secure even after destructor invocation
- See also
- lib::OptionalRef
-
lib::AutoRegistered usage example
Definition at line 58 of file optional-ref-test.cpp.
The documentation for this class was generated from the following file: