Opened 12 years ago

Last modified 10 years ago

#4489 new Feature Requests

References to function object types — at Initial Version

Reported by: Christopher Schmidt Owned by: No-Maintainer
Milestone: To Be Determined Component: result_of
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The current implementation of boost::result_of permits Fn in boost::result_of<Fn(Args...)> to be a reference to a class type. I would like to see that changed. Allowing reference-qualified function object types would be in useful with c++11's explicit reference qualification of member functions (n3090 / 13.3.1/4), and this change would bring boost::result_of more in line with c++11's std::result_of, which does allow "reference[s] to function object type[s]" (n3090 / 20.7.6.6)

Change History (0)

Note: See TracTickets for help on using tickets.