Title
Users should be able to specialize functors without depending on whole <functional> header
Status
nad
Section
[function.objects]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 166 months ago

Messages

Date: 2011-03-05.21:44:45

Proposed resolution:

See paper "Forwarding <functional> functor templates" on the Batavia LWG document list

Date: 2011-03-05.21:44:45

Rationale:

No consensus to make a change

Date: 2010-11-29.10:49:30

[ 2010 Batavia: ]

Closed as NAD - the consensus was that forwarding headers such as <iosfwd> do not bring the expected benefits, and are not widely used (to the surprise of some active users in the room!). Without real experience reporting a benefit, there is no further interest in pursuing this issue as an extension - hence NAD rather than NAD Future.

Date: 2010-11-07.00:00:00

[ 2010-11-07 Daniel provides a paper available on the Batavia document list ]

Date: 2010-10-29.16:55:31

[ Rapperswill summary ]

Alisdair: Would recommend NAD unless someone takes the issue.

Daniel: Volunteers to write a paper for this.

Date: 2010-10-25.00:34:18

[ Resolution proposed by ballot comment ]

Provide a tiny forwarding header for important functor types in the <functional> header that a user may want to specialize. This should contain the template declaration for equal_to, hash and less.

Date: 2010-10-24.10:50:39

Addresses GB-96

The function templates hash, less and equal_to are important customization points for user-defined types to be supported by several standard containers. These are accessed through the <functional> header which has grown significantly larger in C++0x, exposing many more facilities than a user is likely to need through there own header, simply to declare the necessary specialization. There should be a smaller header available for users to make the necessary customization.

History
Date User Action Args
2011-03-05 21:44:45adminsetmessages: + msg5604
2010-11-08 23:43:00adminsetmessages: + msg5319
2010-11-08 23:43:00adminsetstatus: open -> nad
2010-11-07 22:22:27adminsetmessages: + msg5309
2010-11-07 22:22:27adminsetmessages: + msg5308
2010-10-29 16:55:31adminsetmessages: + msg5195
2010-10-25 00:34:18adminsetmessages: + msg5102
2010-10-24 10:50:39adminsetmessages: + msg5014
2010-08-25 00:00:00admincreate