Created on 2015-12-05.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4562.
Insert a paragraph after [func.wrap.func.con]/15 as indicated:
template<class F> function& operator=(F&& f);-14- Effects: function(allocator_arg, ALLOCATOR_OF(*this), std::forward<F>(f)).swap(*this);
-15- Returns: *this. -?- Remarks: This assignment operator shall not participate in overload resolution unless declval<decay_t<F>&>() is Callable (C++14 ยง20.9.11.2) for argument types ArgTypes... and return type R.
[ 2016-02, Issues Telecon ]
P0; move to Tentatively Ready.
Addresses: fund.ts.v2
LWG 2132 constrained std::function's constructor and assignment operator from callable objects for C++14. The constructors of std::experimental::function isn't separately specified in the fundamentals TS and so inherited the constraints from C++14, but the assignment operator is separately specified and presumably needs to be constrained.
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: + msg7964 |
2016-02-07 20:24:45 | admin | set | status: new -> ready |
2015-12-19 16:42:28 | admin | set | messages: + msg7666 |
2015-12-05 00:00:00 | admin | create |