mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
5acb33e2bc
Support for c_call wrapper to be a thing.
6 lines
500 B
ReStructuredText
6 lines
500 B
ReStructuredText
optional<T>
|
|
===========
|
|
|
|
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:`sol::stack::check_get<stack-check-get>` and :ref:`sol::stack::get\<optional\<T>><stack-get>` and ``optional<T> maybe_value = table["arf"];`` implementations for additional safety reasons.
|
|
|
|
.. _optional from the standard library: http://en.cppreference.com/w/cpp/utility/optional |