From c467671ae8b6ec161c17e86f3383fd0625f755b8 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 19 Aug 2022 19:48:10 -0400 Subject: remove sol2 (will re-add as submodule) --- lib/sol2/docs/source/api/optional.rst | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 lib/sol2/docs/source/api/optional.rst (limited to 'lib/sol2/docs/source/api/optional.rst') 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 -=========== - -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` and :ref:`sol::stack::get\>` and ``sol::optional 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 -- cgit v1.2.3