Modify

Ticket #862 (closed Patches: fixed)

Opened 7 years ago

Last modified 4 years ago

[utility] Make result_of handle lambda expressions

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

Description (last modified by dave) (diff)

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

Attachments

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

Change History

comment:1 Changed 7 years ago by dave

  • Owner changed from nobody to dgregor
  • Severity set to Showstopper
  • Status changed from assigned to new
  • Description modified (diff)
  • Reporter changed from daniel_walker to daniel_walker@…

comment:2 Changed 7 years ago by marshall

  • Owner changed from dgregor to doug_gregor

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

comment:3 Changed 6 years ago by dgregor

  • Owner changed from doug_gregor to dgregor

comment:4 Changed 6 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 6 years ago by daniel.j.walker@…

decltype-based implementation of result_of

comment:5 Changed 6 years ago by dgregor

  • Status changed from new to closed
  • Resolution changed from None to fixed

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

comment:6 Changed 4 years ago by danieljames

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

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.