☑ C++11: Move Semantics

This is part 1 of the “C++11 Features” series.

I’ve finally started to look into the new features in C++11 and I thought it would be useful to jot down the highlights, for myself or anyone else who’s curious. Since there’s a lot of ground to cover, I’m going to look at each item in its own post — this one covers move semantics.

Read post →

9 Jul 2013 at 11:04AM by Andy Pearce in Software  | Photo by Annie Spratt on Unsplash  | Tags: c++  |  See comments

☑ Tuning in the static

In C++ the static keyword has quite a few wrinkles that may not be immediately apparently. One of them is related to constructor order, and I briefly describe it here.

Read post →

14 Jun 2013 at 4:18PM by Andy Pearce in Software  | Photo by Frantzou Fleurine on Unsplash  | Tags: c++ c  |  See comments

☑ The Dark Arts of C++ Streams

I’ve always avoided C++ streams as they never seemed as convenient as printf() and friends for formatted output, but I’ve decided I should finally take the plunge.

Read post →

8 Apr 2013 at 12:28PM by Andy Pearce in Software  | Photo by freestocks.org on Unsplash  | Tags: c++ c++-stl  |  See comments

☑ Function Template Fun

Function template specialisation is a tricky beast — the short answer is, avoid it.

Read post →

3 Apr 2013 at 1:12PM by Andy Pearce in Software  | Photo by rawpixel.com on Unsplash  | Tags: c++ c++-templates  |  See comments

← Page 1   |   Page 2 of 2