Take Up Code

253: Creative Ways To Use C++ Curly Braces Beyond Just Functions And Loops.

09.03.2019 - By Take Up Code: build your own computer games, apps, and robotics with podcasts and live classesPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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 […]

More episodes from Take Up Code