Opened 16 years ago

Closed 14 years ago

Last modified 13 years ago

#862 closed Patches (fixed)

[utility] Make result_of handle lambda expressions

Reported by: daniel_walker@… Owned by: Douglas Gregor
Milestone: Component: None
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by Dave Abrahams)

Apply with 'patch -p0 < djw_result_of.patch' from the boost root directory. See Discussion here http://tinyurl.com/2h3g7n.

Attachments (1)

djw_result_of.zip (2.5 KB ) - added by daniel.j.walker@… 14 years ago.
decltype-based implementation of result_of

Download all attachments as: .zip

Change History (7)

comment:1 by Dave Abrahams, 15 years ago

Description: modified (diff)
Owner: changed from nobody to Douglas Gregor
Reporter: changed from daniel_walker to daniel_walker@…
Severity: Showstopper
Status: assignednew

comment:2 by Marshall Clow, 15 years ago

Owner: changed from Douglas Gregor to doug_gregor

Assigned to "doug_gregor" instead of nonexistent user "dgregor"

comment:3 by Douglas Gregor, 14 years ago

Owner: changed from doug_gregor to Douglas Gregor

comment:4 by daniel.j.walker@…, 14 years ago

The patch file djw_result_of.patch adds an implementation of result_of that is similar to N1454 but uses decltype instead of typeof. This patch only fixes the lambda compatibility problem on compilers that support decltype. Apply from the root with 'patch -p0 < djw_result_of.patch'

by daniel.j.walker@…, 14 years ago

Attachment: djw_result_of.zip added

decltype-based implementation of result_of

comment:5 by Douglas Gregor, 14 years ago

Resolution: Nonefixed
Status: newclosed

(In [45256]) result_of implementation that makes use of C++0x decltype, from Daniel Walker. Fixes #862.

comment:6 by Daniel James, 13 years ago

(In [60289]) Merge various result_of changes.

  • [42234] Reduce header dependencies, from Shunsuke Sogame. Fixes #1535
  • [45256] result_of implementation that makes use of C++0x decltype, from Daniel Walker. Fixes #862.
  • [48620] Fix result_of to work with const-qualified function pointers. Fixes #1310
  • [60052] Remove use of deprecated config macro in result_of.
Note: See TracTickets for help on using tickets.