Created on 2010-08-25.00:00:00 last changed 170 months ago
Proposed resolution:
Resolved by paper N3198.
[ 2010-10-24 Daniel adds: ]
Accepting n3145 would solve this issue.
[ 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.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:09 | admin | set | status: nad editorial -> resolved |
2010-11-11 01:37:17 | admin | set | status: open -> nad editorial |
2010-10-25 01:00:51 | admin | set | messages: + msg5120 |
2010-10-25 01:00:51 | admin | set | messages: + msg5119 |
2010-10-25 00:09:15 | admin | set | messages: + msg5095 |
2010-10-24 10:50:39 | admin | set | messages: + msg5013 |
2010-08-25 00:00:00 | admin | create |