C++ Logo

std-proposals

Advanced search

Re: Make class template parameters available externally

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 31 Oct 2019 13:17:27 -0700
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

Received on 2019-10-31 15:19:50