Blog Archives

Writing Good C++ By Default, in the STL

Edit: Note that my blog (including this post) has moved to http://www.nirfriedman.com. Feel free to visit there instead for a cleaner look and the latest content! If you haven’t seen Herb Sutter’s recent talk at CppCon 2015 “Writing Good C++… by

Posted in c++

Multiple Arrays, One Allocation, Generically: MultiArray

Edit: Note that my blog (including this post) has moved to http://www.nirfriedman.com. Feel free to visit there instead for a cleaner look and the latest content! In last week’s post, I discussed how one could simplify the task of allocating memory

Posted in c++, Uncategorized

Joint Allocations in C++

Edit: Note that my blog (including this post) has moved to http://www.nirfriedman.com. Feel free to visit there instead for a cleaner look and the latest content! This post was inspired by my recent view of this YouTube. The video is by a gentleman by

Posted in c++

Object Theft Etiquette in C++: methods with a side of &&

Edit: Note that my blog (including this post) has moved to http://www.nirfriedman.com. Feel free to visit there instead for a cleaner look and the latest content! Sometimes in C++, an object has something that we want. We don’t want to

Posted in c++

C++’s Rule of Zero

Edit: Note that my blog (including this post) has moved to http://www.nirfriedman.com. Feel free to visit there instead for a cleaner look and the latest content! Some of you probably already know about the Rule of Zero. More of you

Posted in c++