Created on 2015-12-20.00:00:00 last changed 100 months ago
Proposed resolution:
This wording is relative to N4562.
Edit [func.wrap.func], class template function synopsis, as indicated:
namespace std {
namespace experimental {
inline namespace fundamentals_v2 {
[…]
template<class R, class... ArgTypes>
class function<R(ArgTypes...)> {
public:
[…]
void swap(function&);
template<class F, class A> void assign(F&&, const A&);
[…]
};
[…]
} // namespace fundamentals_v2
} // namespace experimental
[…]
} // namespace std
[ 2016-02, Issues Telecon ]
P0; move to Tentatively Ready.
Addresses: fund.ts.v2
Following the lead of LWG 2385, the assign(F&&, const A&) member function template in std::experimental::function makes no sense (it causes undefined behavior unless the allocator passed compares equal to the one already used by *this) and should be removed.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-07-30 20:10:41 | admin | set | status: wp -> open |
| 2016-03-07 04:18:55 | admin | set | status: ready -> wp |
| 2016-02-07 20:24:45 | admin | set | messages: + msg7965 |
| 2016-02-07 20:24:45 | admin | set | status: new -> ready |
| 2015-12-20 10:29:52 | admin | set | messages: + msg7668 |
| 2015-12-20 00:00:00 | admin | create | |