Take Up Code
Take Up Code
Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes
253: Creative Ways To Use C++ Curly Braces Beyond Just Functions And Loops.
6 minutes Posted Sep 2, 2019 at 5:11 pm.
0:00
6:45
Download MP3
Show notes
This episode will explain how you can use curly braces in C++ to create a new scope. You can use this ability to control name visibility and reduce name conflicts. And you can also use curly braces to control exactly when object constructors and destructors are run. This is possible because C++ has very specific […]