Date: Tue, 13 Feb 2024 21:33:26 +0100
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.
Best,
Sebastian
-----Ursprüngliche Nachricht-----
Von:Barry Revzin via Std-Proposals <std-proposals_at_[hidden]>
Gesendet:Di 13.02.2024 20:15
Betreff:Re: [std-proposals] How to propose a feature?
An:std-proposals_at_[hidden];
CC:Barry Revzin <barry.revzin_at_[hidden]>;
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.
Barry
Received on 2024-02-13 20:33:28