Quantcast
Channel: C++ on a Friday » C++
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

A 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 Article

Image may be NSFW.
Clik here to view.

Efficient 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 Article

Image may be NSFW.
Clik here to view.

Another 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Fighting 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 Article

Image may be NSFW.
Clik here to view.

Prefer 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 Article

Image may be NSFW.
Clik here to view.

CppQuiz.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 Article


Image may be NSFW.
Clik here to view.

Very 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 Article


Image may be NSFW.
Clik here to view.

All 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
Browsing latest articles
Browse All 10 View Live




Latest Images