fix return type of call operator in function.rst

without result type specification it returns `function_result`
This commit is contained in:
Stefan Bühler 2017-03-31 13:23:55 +02:00 committed by The Phantom Derpstorm
parent 36071801d6
commit 0563d9e124

View File

@ -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 );