mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
e69e7c79fa
added variadic_results, to return a variable number of arguments to Lua added variadic_results and as_results added improved function examples (for multiple results and split overloading out) added tests for variadics added tests for C++17 utilities added a forwarding header added a specific `unsafe_function` header added and improved documetation pages
12 lines
253 B
ReStructuredText
12 lines
253 B
ReStructuredText
variadic_results
|
|
================
|
|
push multiple disparate arguments into lua
|
|
------------------------------------------
|
|
|
|
.. code-block:: cpp
|
|
|
|
struct variadic_results : std::vector<object> { ... };
|
|
|
|
template <typename T>
|
|
as_args_t<T> as_args( T&& );
|