mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Remove duplicate constructor type section from docs
This commit is contained in:
parent
810c96b97b
commit
0542930c9d
@ -142,10 +142,6 @@ If the type is `default_constructible`_, sol will generate a ``"new"`` member o
|
|||||||
- Specifically tells sol not to create a ``.new()`` if one is not specified and the type is default-constructible
|
- Specifically tells sol not to create a ``.new()`` if one is not specified and the type is default-constructible
|
||||||
- When the key ``{anything}`` is called on the table, it will result in an error. The error might be that the type is not-constructible.
|
- When the key ``{anything}`` is called on the table, it will result in an error. The error might be that the type is not-constructible.
|
||||||
- *Use this plus some of the above to allow a factory function for your function type but prevent other types of constructor idioms in Lua*
|
- *Use this plus some of the above to allow a factory function for your function type but prevent other types of constructor idioms in Lua*
|
||||||
* ``{anything}, sol::no_constructor``
|
|
||||||
- Specifically tells sol not to create a ``.new()`` if one is not specified and the type is default-constructible
|
|
||||||
- When the key ``{anything}`` is called on the table, it will result in an error. The error might be that the type is not-constructible.
|
|
||||||
- *Use this plus some of the above to allow a factory function for your function type but prevent other types of constructor idioms in Lua*
|
|
||||||
|
|
||||||
usertype destructor options
|
usertype destructor options
|
||||||
+++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user