aboutsummaryrefslogtreecommitdiffstats
path: root/deps/sol2/docs/source/api/property.rst
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-30 00:45:36 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-30 00:45:36 -0400
commitdc2493e7525bb7633f697ef10f72b72b46222249 (patch)
tree9816755219e65d3f47fdce81c78f3736a7ddb8ab /deps/sol2/docs/source/api/property.rst
parent9d2b31797d0cfd130802b69261df2cd402e39b49 (diff)
Forget what I said, I just need to change git attributes to mark for vendor
Diffstat (limited to 'deps/sol2/docs/source/api/property.rst')
-rw-r--r--deps/sol2/docs/source/api/property.rst18
1 files changed, 0 insertions, 18 deletions
diff --git a/deps/sol2/docs/source/api/property.rst b/deps/sol2/docs/source/api/property.rst
deleted file mode 100644
index 7141bc9..0000000
--- a/deps/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 <typename Read, typename Write>
- decltype(auto) property ( Read&& read_function, Write&& write_function );
- template <typename Read>
- decltype(auto) property ( Read&& read_function );
- template <typename Write>
- 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<usertype>` construction, it will create a variable that uses the setter/getter member function specified.
-
-.. literalinclude:: ../../../examples/source/property.cpp
- :linenos:
-