Date: Fri, 14 Jun 2019 13:56:32 -0700
On Friday, 14 June 2019 13:50:34 PDT Ivan Matek via Std-Proposals wrote:
> private using namespace std; // applies to ONLY this file, files that
> include headery_mcheaderface.h will not get polluted, nice for making
> declarations shorter
There's no concept of file in C++. Remember that the preprocessor will run and
concatenate all content before the actual C++ compiler sees anything.
You may want to rethink your proposal in terms of Modules.
> private using namespace std; // applies to ONLY this file, files that
> include headery_mcheaderface.h will not get polluted, nice for making
> declarations shorter
There's no concept of file in C++. Remember that the preprocessor will run and
concatenate all content before the actual C++ compiler sees anything.
You may want to rethink your proposal in terms of Modules.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products -- You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group. To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe_at_isocpp.org. To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/15123300.CV6udYR2T5%40tjmaciei-mobl1.
Received on 2019-06-14 15:59:41