Modify

Opened 11 years ago

Closed 10 years ago

Last modified 8 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@… 10 years ago.
decltype-based implementation of result_of

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by Dave Abrahams

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

comment:2 Changed 10 years ago by Marshall Clow

Owner: changed from Douglas Gregor to doug_gregor

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

comment:3 Changed 10 years ago by Douglas Gregor

Owner: changed from doug_gregor to Douglas Gregor

comment:4 Changed 10 years ago by daniel.j.walker@…

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'

Changed 10 years ago by daniel.j.walker@…

Attachment: djw_result_of.zip added

decltype-based implementation of result_of

comment:5 Changed 10 years ago by Douglas Gregor

Resolution: Nonefixed
Status: newclosed

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

comment:6 Changed 8 years ago by Daniel James

(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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Douglas Gregor.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.