Topic: C++ proposal for header <pc>
Author: Lorand Szollosi <szollosi.lorand@gmail.com>
Date: Sun, 1 Apr 2018 17:22:10 +0200
Raw View
Hi,
I'd like to propose a simple macro in a header called <pc>. This macro is to avoid teaching that one grants access to private interface by marking it 'friend'. The proposed header shall instead allow one to write 'consent' by defining the following macro:
#define consent friend
This hopefully eliminates a source of confusion for newcomers to the language and helps healthy memes to be used in accordance with the language. It is expected that the header <pc> grows as we discover similar possibilities for improvment in naming.
Bests,
-lorro
Ps. yes, this is an apr/1 proposal. yes, this is only halfways a joke - naming is important to some beginners.
--
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@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/DED2C3A4-7989-4B37-9362-E6231A5F1457%40gmail.com.
.
Author: Thiago Macieira <thiago@macieira.org>
Date: Sun, 01 Apr 2018 09:36:54 -0700
Raw View
On domingo, 1 de abril de 2018 08:22:10 PDT Lorand Szollosi wrote:
> Ps. yes, this is an apr/1 proposal. yes, this is only halfways a joke -
> naming is important to some beginners.
And with this I conclude, after only 30 min being awake, I should not read
email or news today...
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
--
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@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/2914094.8vGWz8caqU%40tjmaciei-mobl1.
.