- Title
- Explicit instantiation/specialization of generic lambda operator()
- Status
- cd4
- Section
- 7.5.6.2 [expr.prim.lambda.closure]
- Submitter
- Hubert Tong
Created on 2013-09-26.00:00:00 last changed 116 months ago
Messages
Date: 2014-11-15.00:00:00
[Moved to DR at the November, 2014 meeting.]
Date: 2014-02-15.00:00:00
Proposed resolution (February, 2014): Add the following as a new paragraph following 7.5.6 [expr.prim.lambda] paragraph 21:
The closure type associated with a lambda-expression has an
implicitly-declared destructor (11.4.7 [class.dtor]). A member of a closure type shall not be explicitly instantiated
(13.9.2 [temp.inst]), explicitly specialized
(13.9.3 [temp.explicit]), or named in a friend
declaration (11.8.4 [class.friend]).
Date: 2013-09-26.00:00:00
Similarly to issue 1738, it is not clear
whether it is permitted to explicitly instantiate or specialize the
call operator of a polymorphic lambda (via decltype ).
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-02-06 00:00:00 | admin | set | status: drwp -> cd4 |
| 2015-05-25 00:00:00 | admin | set | status: dr -> drwp |
| 2015-04-13 00:00:00 | admin | set | messages: + msg5338 |
| 2014-11-24 00:00:00 | admin | set | status: ready -> dr |
| 2014-03-03 00:00:00 | admin | set | messages: + msg4806 |
| 2014-03-03 00:00:00 | admin | set | status: open -> ready |
| 2013-09-26 00:00:00 | admin | create | |