Log In
0% completed
All Lessons
Free Lessons (4)
Introduction
A Bit about const
Arguments using const
Arguments Against const
const and Visual Noise
How const may Confuse Developers
Why does const matter?
Key Takeaways
Quiz
Local Variables
const Local Variables
Key Takeaways
Quiz
Local Members
const with Member Variables
Unexpected Implications
Find a Workaround
Move Semantics
Key Takeaways
Quiz
Exercise
Solution
Functions
const Functions
const Overloads
Key Takeaways
Quiz
Exercise
Solution
Return Types
const Return Types
Returning const References
Return const Pointers
int * const func() const
const int * func() const
Key Takeaways
Quiz
const Parameters
const Primitive Data Type
const Class Type Parameters
Ignoring the const
const Qualifier
Key Takeaways
Quiz
const and Smart Pointers
Smart Pointers as Pointers
Smart Pointers as Objects
Key Takeaways
Quiz
Rvalue References
const Rvalue References
Binding Rules
Use of const Rvalue References
Key Takeaways
Quiz
Exercise
Solution
Summary
Summary
Secure Coding Practices in C++: A Deep Dive into const
/
...
/
Key Takeaways
Key Takeaways
Get a recap of all the concepts learned in this chapter.
We'll cover the following...
In this chapter, we
...