Title
Associated namespace for local type
Status
c++14
Section
6.5.4 [basic.lookup.argdep]
Submitter
Ville Voutilainen

Created on 2013-05-27.00:00:00 last changed 122 months ago

Messages

Date: 2014-02-15.00:00:00

[Moved to DR at the February, 2014 meeting.]

Date: 2013-09-15.00:00:00

Proposed resolution (September, 2013):

This issue is resolved by the resolution of issue 1691.

Date: 2013-05-27.00:00:00

We can return a lambda or an object of a local class type from a lambda in c++11, and we can return them from normal functions in c++14. If those lambdas and normal functions are in a namespace, the returned lambdas/local-classes apparently aren't in that namespace, or even if they are, ADL won't find them. Is this intended?

(See also issue 1664.)

History
Date User Action Args
2014-11-24 00:00:00adminsetstatus: dr -> c++14
2014-03-03 00:00:00adminsetmessages: + msg4928
2014-03-03 00:00:00adminsetstatus: ready -> dr
2013-10-14 00:00:00adminsetmessages: + msg4567
2013-10-14 00:00:00adminsetstatus: open -> ready
2013-05-27 00:00:00admincreate