C++ Logo

std-proposals

Advanced search

Re: [std-proposals] New attribute to add implicit using statements for template parameter lists

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 29 Nov 2022 12:10:43 -0800
On Tuesday, 29 November 2022 11:56:36 PST Ryan Klaus wrote:
> If you replace "[[context(using enum Color)]]" with Lénárd's alternative of
> "template<using enum Color>", my arguments don't change.

It does change that the syntax now only applies to template arguments, whereas
previously or another syntax might have applied in other contexts. That
reduces its usefulness.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2022-11-29 20:10:44