From fb1d2effef8c3af015b14a25613eb61bf113c240 Mon Sep 17 00:00:00 2001 From: Daniel Walker Date: Mon, 9 Aug 2010 16:23:50 +0000 Subject: [PATCH] correction to result_of documentation [SVN r64696] --- utility.htm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/utility.htm b/utility.htm index 328aff2..3ac5d42 100644 --- a/utility.htm +++ b/utility.htm @@ -183,10 +183,9 @@ typedef boost::result_of< >::type type; -

If your compiler does not support - decltype, then automatic result type - deduction of function objects is not - possible. Instead, result_of +

If decltype is not enabled, + then automatic result type deduction of function + objects is not possible. Instead, result_of uses the following protocol to allow the programmer to specify a type. When F is a class type with a member type result_type,