News for hackers. Stuff that matters.
Re:In the C++ bag of tricks: scoped locks by dmm on Friday February 07, 2014 @04:10PM (#7198750)
C with classes is what the google c++ style guide mandates: http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...

No exceptions, no boost, no lambda, no rtti, streams only for logging, avoid operator overloading, etc.

Re:In the C++ bag of tricks: scoped locks by vinkelhake on Friday February 07, 2014 @05:18PM (#7199148)
The Google C++ style guide has its quirks, but describing it as "C with classes" is flat out wrong.

> no boost

Not true, select parts of Boost are available.

> no lambda

The C++11 features are being rolled in gradually. Lambda expressions are now permitted.

> no rtti

The guide says "avoid RTTI" and urges the developer to come up with a different design. This is very much in line with C++ best practice overall. There's no ban on RTTI.

Re:In the C++ bag of tricks: scoped locks by dmm on Sunday February 09, 2014 @01:17PM (#7206392)
Version 3.274 says:

Do not use lambda expressions, or the related std::function or std::bind utilities.

Re:In the C++ bag of tricks: scoped locks by vinkelhake on Monday February 10, 2014 @02:14PM (#7213006)
It's unfortunately not synched with the internal version.
Re:In the C++ bag of tricks: scoped locks by pjmlp on Friday February 07, 2014 @05:45PM (#7199282)
I don't agree with Google's style guide, besides they are not perfect.