From 0563d9e1249b452540fbb3553cd010187e0db978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Fri, 31 Mar 2017 13:23:55 +0200 Subject: [PATCH] fix return type of call operator in function.rst without result type specification it returns `function_result` --- docs/source/api/function.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/api/function.rst b/docs/source/api/function.rst index a36d96e3..88c3b95b 100644 --- a/docs/source/api/function.rst +++ b/docs/source/api/function.rst @@ -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 - protected_function_result operator()( Args&&... args ); + function_result operator()( Args&&... args ); template decltype(auto) call( Args&&... args );