sol2/docs/source/api/optional.rst

4 lines
391 B
ReStructuredText
Raw Normal View History

2016-03-25 22:58:33 +08:00
optional
========
This is an implemention of `optional from the standard library`. If it detects that a proper optional exists, it will attempt to use it. This is mostly an implementation detail, used in the :ref:`stack::check_get<stack-check-get>` and :ref:`stack::get\<optional\<T>><stack-get>` and ``optional<T> maybe_value = table["arf"];`` impementations for additional safety reasons.