C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Make class template parameters available externally
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-10-31 15:17:27


On Thursday, 31 October 2019 00:57:40 PDT language.lawyer--- via Std-Proposals
wrote:
> I think your vector example is a bit unfortunate.
> STDlib implementers would still have to use reserved identifiers as template
> parameter names.

No, they wouldn't. If the parameter names were automatically injected *and*
they are required by the standard to appear as typedefs in the class's
context, then those names can't be macros defined by the user in the first
place.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups