Write secure code with assertions (assert and static_assert) | Modern Cpp Series Ep. 87

Publicado el: 09 septiembre 2022
en el canal de: Mike Shah
7,909
358

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson I will show you one way to catch bugs at run-time, and one way to catch bugs at compile-time. The assert statement (from C) is available to us in C++. Assertions serve as contracts of thing that must absolutely be true, and if they're not, the safest thing to do is for our program to terminate. In modern C++ we have available to use static_assert which can check boolean-constexpr expressions to see if they pass the test, and catching bugs at compile-time is often much easier on us in the long run!

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!


En esta página del sitio puede ver el video en línea Write secure code with assertions (assert and static_assert) | Modern Cpp Series Ep. 87 de Duración hora minuto segunda en buena calidad , que subió el usuario Mike Shah 09 septiembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7,909 veces y le gustó 358 a los espectadores. Disfruta viendo!