Created on 2022-06-28.00:00:00 last changed 25 months ago
CWG 2022-11-10
See 10.2 [module.interface] paragraph 7.
Consider:
// module interface unit export module M; export enum E : int; enum E : int { e }; // other translation unit import M; auto a = E::e; // #1: OK? auto b = e; // #2: OK?
It is unclear whether the enumerator name e is or ought to be visible in the other translation unit.
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-11-11 15:58:20 | admin | set | messages: + msg7023 |
2022-11-11 15:58:20 | admin | set | status: open -> drafting |
2022-06-28 00:00:00 | admin | create |