diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-08-19 19:48:10 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-08-19 19:48:10 -0400 |
commit | c467671ae8b6ec161c17e86f3383fd0625f755b8 (patch) | |
tree | fd126d5721256b15c0d71e4c47033e341bdb7816 /lib/sol2/docs/source/api/optional.rst | |
parent | da0913771538fd9b1ca538615fd9aa0388608466 (diff) |
remove sol2 (will re-add as submodule)
Diffstat (limited to 'lib/sol2/docs/source/api/optional.rst')
-rw-r--r-- | lib/sol2/docs/source/api/optional.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/sol2/docs/source/api/optional.rst b/lib/sol2/docs/source/api/optional.rst deleted file mode 100644 index 50fffda..0000000 --- a/lib/sol2/docs/source/api/optional.rst +++ /dev/null @@ -1,9 +0,0 @@ -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 ``sol::optional<T> maybe_value = table["arf"];`` implementations for additional safety reasons. - -See `this example here`_ for a demonstration on how to use it and other features! - -.. _optional from the standard library: http://en.cppreference.com/w/cpp/utility/optional -.. _this example here: https://github.com/ThePhD/sol2/blob/develop/examples/source/optional_with_iteration.cpp |