Skip to content

Effective Modern C++ - special member function generation

G
Hosted By
Gina
Effective Modern C++ - special member function generation

Details

There have been requests in the past to have a discussion geared toward C++ beginners. I believe that this section of Scott Meyers' book would be a good topic for beginners. This sections discusses concepts that one may already be familiar from other object-oriented languages - constructors. It also covers concepts that are unique to C++ (e.g. move constructors).

We will first look at which and how the special member functions were generated in C++ 98. Once we understand the usage of these, we will then look at the new special member functions introduced in C++11, which should appeal to our more experienced group.

Then, after explaining the importance of each of these special member functions, we will discuss the "Rule of Three/Five/Zero":

http://en.cppreference.com/w/cpp/language/rule_of_three

One more item: "Tales from the trenches" - An obscure C++ bug (?) reared its ugly head at work. We will look at this code.

See everyone on May 4!!

Gina

Photo of Saint Louis C/C++ Meetup group
Saint Louis C/C++ Meetup
See more events
Reuters
717 Office Pkwy · Saint Louis, MO