April 2017
Beginner to intermediate
394 pages
9h 16m
English
We now have a good foundation to build on, but we can actually make our object pool much nicer to use. One of the cooler features in C++ is the fact that you can override the default behaviors of operators, typically referred to as operator overloading. This is done with functions being created with specific names that contain the operator keyword, followed by what operator you want to define. Just like regular functions, they have return types as well as parameters that get passed to them.
In addition to common operators, such as +, -, and /, we also have the ability to ...
Read now
Unlock full access