mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix return type of call operator in function.rst
without result type specification it returns `function_result`
This commit is contained in:
parent
36071801d6
commit
0563d9e124
|
@ -73,7 +73,7 @@ This makes it much easier to work with multiple return values. Using ``std::tie`
|
|||
:caption: function: call operator / function call
|
||||
|
||||
template<typename... Args>
|
||||
protected_function_result operator()( Args&&... args );
|
||||
function_result operator()( Args&&... args );
|
||||
|
||||
template<typename... Ret, typename... Args>
|
||||
decltype(auto) call( Args&&... args );
|
||||
|
|
Loading…
Reference in New Issue
Block a user