Notes From My GoogleTest Demo
I recently gave a demo of GoogleTest at Kjeller Software Community / Oslo C++ Users Group. These are the notes from my demo. My apologies to those who did not attend, these might not make much sense...
View ArticleA Bad(?) Excuse for Private Inheritance
A few weeks ago I introudced private inheritance, and finished with a comment about a common excuse for using it. In this post I give an example of such usage, and discuss whether it is a good idea or...
View ArticleEfficient Pure Functional Programming in C++ Using Move Semantics
In which I briefly mention what pure functional programming is, explain why this can be slow in C++, and use move semantics to solve that problem. Be warned that this post is a bit longer than usual...
View ArticleAnother Reason to Avoid #includes in Headers
I have already argued that you shouldn’t put all your includes in your .h files. Here is one more reason, compilation time. Have a look at this example, where the arrows mean “includes” file5.h...
View ArticleHow to avoid includes in headers
I have now written twice about why you should minimize the use of include in header files. As one reader on Reddit politely put it (“crap article”), it is about time I write a post about how to do...
View ArticleFighting FUD – Introducing C++11 to Legacy Programmers
I’m at the ACCU 2013 conference, and this morning Bjarne Stroustrup held a keynote about C++11. One of his points was that full adoption of C++11 will take some time, due to compilers, libraries etc....
View ArticlePrefer Using References With Range Based For Loops
Now and again I see people forgetting the & in range based for loops, like this: for (auto a : a_vec) { } What some people seem to forget, or don’t know, is that this creates a copy of the element...
View ArticleCppQuiz.org officially launched!
The Story (you can skip this part) Back in April I went to the excellent ACCU 2013 conference. I had been playing with the idea for an online C++ quiz for a while, but decided I didn’t have the time to...
View ArticleVery Strong C++ Track at the NDC Conference
As someone who doesn’t do web development, and didn’t use to do any .net, I’ve not always been too excited by the Norwegian Developers Conference agenda. This year however, I’m very impressed by the...
View ArticleAll C++ talks from NDC now available
As I’ve previously posted about, there was a great C++ track at NDC this year. It turns out that videos of all the talks are now out. Big thanks to Olve Maudal for putting together this track! And...
View Article
More Pages to Explore .....