Title
Deprecate '98 binders
Status
resolved
Section
[function.objects]
Submitter
BSI

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

Messages

Date: 2011-05-21.21:15:19

Proposed resolution:

Resolved by paper N3198.

Date: 2010-10-24.00:00:00

[ 2010-10-24 Daniel adds: ]

Accepting n3145 would solve this issue.

Date: 2010-10-25.00:34:18

[ Resolution proposed by ballot comment ]

Move clauses 20.8.3, 20.8.9, 20.8.11 and 20.8.12 to Annex D.

Remove the requirements to conditionally derive from unary/binary_function from function, reference_wrapper, and the results of calling mem_fn and bind.

Date: 2010-10-24.10:50:39

Addresses GB-95

The adaptable function protocol supported by unary_function/binary_function has been superceded by lambda expressions and std::bind. Despite the name, the protocol is not very adaptable as it requires intrusive support in the adaptable types, rather than offering an external traits-like adaption mechanism. This protocol and related support functions should be deprecated, and we should not make onerous requirements for the specification to support this protocol for callable types introduced in this standard revision, including those adopted from TR1. It is expected that high-quality implementations will provide such support, but we should not have to write robust standard specifications mixing this restricted support with more general components such as function, bind and reference_wrapper.

History
Date User Action Args
2010-11-18 14:01:09adminsetstatus: nad editorial -> resolved
2010-11-11 01:37:17adminsetstatus: open -> nad editorial
2010-10-25 01:00:51adminsetmessages: + msg5120
2010-10-25 01:00:51adminsetmessages: + msg5119
2010-10-25 00:09:15adminsetmessages: + msg5095
2010-10-24 10:50:39adminsetmessages: + msg5013
2010-08-25 00:00:00admincreate