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/property.rst | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/sol2/docs/source/api/property.rst (limited to 'lib/sol2/docs/source/api/property.rst') diff --git a/lib/sol2/docs/source/api/property.rst b/lib/sol2/docs/source/api/property.rst deleted file mode 100644 index 7141bc9..0000000 --- a/lib/sol2/docs/source/api/property.rst +++ /dev/null @@ -1,18 +0,0 @@ -property -======== -*wrapper to specify read and write variable functionality using functions* - -.. code-block:: cpp - - template - decltype(auto) property ( Read&& read_function, Write&& write_function ); - template - decltype(auto) property ( Read&& read_function ); - template - decltype(auto) property ( Write&& write_function ); - -These set of functions create a type which allows a setter and getter pair (or a single getter, or a single setter) to be used to create a variable that is either read-write, read-only, or write-only. When used during :doc:`usertype` construction, it will create a variable that uses the setter/getter member function specified. - -.. literalinclude:: ../../../examples/source/property.cpp - :linenos: - -- cgit v1.2.3