[RFC] add push/pop pragma to control the scope of "using"

Jiang Ma majiang31312@gmail.com
Wed Jan 15 16:37:00 GMT 2020

I will put my definitions into a namespace as you suggested.

Jonathan Wakely <jwakely.gcc@gmail.com> 于2020年1月15日周三 下午11:42写道:
> On Wed, 15 Jan 2020 at 15:37, Jiang Ma <majiang31312@gmail.com> wrote:
> >
> > Thanks  for the kindly reply!
> > > It would create a non-standard, non-portable dialect of C++. We prefer
> > > to avoid adding non-standard extensions these days. You could propose
> > >it to the C++ committee, but I'm pretty sure they would not want such
> > >a thing.
> >   Indeed, pragma is not portable.  I believe you are right that the
> > C++ committee would not want such a thing   :-)
> I mean they wouldn't want it under any syntax, not just as a pragma.
> It's a terrible fit for a pragma anyway.

More information about the Gcc mailing list