Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Byte-Sized-Chunks: Operator Overloading in C++

Posted By: naag
Byte-Sized-Chunks: Operator Overloading in C++

Byte-Sized-Chunks: Operator Overloading in C++
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 2 Hours | 758 MB
Genre: eLearning | Language: English

Assignment, Pre- and Post-Increment, And Streaming Operators Will Make So Much Sense Now!

Operator overloading is a particularly complicated topic - C++ is virtually alone in the ubiquity of overloaded operators. Make sure this doesn't trip you up.

What is operator overloading? Understand internal operators, defined as member functions of a class vs external operators defined as global functions. External operators are commonly friend functions of the class on which they operate.
Internal or External? When would you choose to have an internal operator implementation vs an external operator implementation? Sometimes you don't have a choice!
The += operator
The assignment operator
Pre- and Post-Increment
Streams and the >> and << operators

Byte-Sized-Chunks: Operator Overloading in C++