Quantcast
Channel: Learn Modern C++
Viewing all articles
Browse latest Browse all 33

Operator Overloading in Modern C++ (3)

$
0
0
Having looked at how to overload common math operators in previous articles, in this article we’re going to look at how to overload some “special” operators (unary * and ->) as well as increment and decrement (++ and --). Since none of these could be usefully applied to our Vec3d class, we’ll be creating a… Continue reading Operator Overloading in Modern C++ (3)

Viewing all articles
Browse latest Browse all 33

Trending Articles