Back to Browse

C++: Compile-time Assertions

86 views
Apr 15, 2021
3:54

Welcome to the Cow Corporation's series of videos about software engineering. The topic of this video is compile-time assertions in C++. Prerequisite Knowledge: Table of Contents (https://www.youtube.com/watch?v=oFvHtpPPV_k) Desktop Apps (https://www.youtube.com/watch?v=3NO4APs4Io8) Desktop Apps→C++ (https://www.youtube.com/watch?v=eNwIlsb9wqs) Previous Video in this Series: Desktop Apps→C++→Preprocessing→Compile-time Constants (https://www.youtube.com/watch?v=HVaMdsXMvvA) Example Source Code: Preprocessor assertion (https://wandbox.org/permlink/f38K6mdyAI93R8H1) Compile-time assertion (https://wandbox.org/permlink/EZjX8HdgHa4gaG9X) Assertion in a templated class (https://wandbox.org/permlink/MOOa5u39Nh0Aoxx4) Next Video in this Series: Desktop Apps→C++→Preprocessing→Conditional Compilation (https://www.youtube.com/watch?v=fFHEscbGRcY) Copyright 2026 Cow Corporation. All rights reserved. cowcorporation.com You are welcome to view this video. However, it is not intended to have any value other than as a set of notes for our own reference. This video comes with no guarantee of suitability for any particular purpose; use at your own risk. Music used with permission: "Take You On" by James Mercy (featuring PhiloSofie). Music provided by http://spot.fi/NCS 0:00 Intro 0:24 Video 3:35 Outro

Download

1 formats

Video Formats

360pmp45.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

C++: Compile-time Assertions | NatokHD