[Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

Allan Sandfeld Jensen kde at carewolf.com
Fri Feb 21 09:47:10 CET 2020


On Sunday, 16 February 2020 19:32:02 CET Thiago Macieira wrote:
> On Saturday, 15 February 2020 06:23:52 PST Marc Mutz via Development wrote:
> > C++20 will contain new classes with emit() member functions
> > (wg21.link/P0053). While that will only pose problems for users that
> > include the new <osyncstream> header after (almost) any Qt header, this
> > should serve as a second shot across the bows (after namespace
> > boost::signals) that we should change something.
> 
> Orthogonal to your request: can we ask C++20 to change the name of this
> function? We've been #define'ing emit for nearly 30 years.

Didn't C++20 just finalize, in any case?

'Allan






More information about the Development mailing list