Date: Tue, 16 Aug 2022 08:29:12 -0700
On Tuesday, 16 August 2022 08:02:40 PDT Arthur O'Dwyer via Std-Proposals
wrote:
> For comparison, C++ once tried to standardize the equally widespread vendor
> practice of
> #define CALL(...) call(1, 2, 3 ,##__VA_ARGS__)
> to mean "eliminate the trailing comma if __VA_ARGS__ is empty," and after
> they got through with it we ended up with a whole new thing called
> __VA_OPT__, and the original code remains a non-standard extension.
A good point why this needs to be done in sync with WG14.
They don't have a mailing list. So you must start with a paper.
wrote:
> For comparison, C++ once tried to standardize the equally widespread vendor
> practice of
> #define CALL(...) call(1, 2, 3 ,##__VA_ARGS__)
> to mean "eliminate the trailing comma if __VA_ARGS__ is empty," and after
> they got through with it we ended up with a whole new thing called
> __VA_OPT__, and the original code remains a non-standard extension.
A good point why this needs to be done in sync with WG14.
They don't have a mailing list. So you must start with a paper.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2022-08-16 15:29:15