Hi Barry, hi Baruch,

using-declarations can be used for introducing elsewhere declared namespace members, class members and enumerations.

So as type alias the keyword using may be only used for types, but otherwise as declaration using is used for all kind ob entities.




-----Ursprüngliche Nachricht-----
Von: Barry Revzin via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: Di 13.02.2024 20:15
Betreff: Re: [std-proposals] How to propose a feature?
An: std-proposals@lists.isocpp.org;
CC: Barry Revzin <barry.revzin@gmail.com>;
It was rejected in part due to the desire for wanting different kinds of alias (alias type vs alias function etc) to actually look different in code, so would either have to come up with whatever that syntax should look like or an argument for why you don't need that syntax. Although now that "down with typename" has been in the standard for a while, it'd be a breaking change to use the same syntax - since now you'd need "typename" again in all of these places.