C++ Logo

std-proposals

Advanced search

Re: Make class template parameters available externally

From: Dmitry <dimanne_at_[hidden]>
Date: Thu, 31 Oct 2019 21:45:19 +0000
Ok, thank you all for the great feedback!

I am going to update the proposal and answer some unanswered questions very
soon...

On Thu, 31 Oct 2019 at 20:17, Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> 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 mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>


-- 
Dmitry
*Sent from gmail*

Received on 2019-10-31 16:48:04