Constexpr, Traits, and Static Assertions in C++
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 29M | 119 MB
Genre: eLearning | Language: English
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 29M | 119 MB
Genre: eLearning | Language: English
Templates are a compile-time mechanism, and three recent additions to the language and library have made templates more useful than ever before. Learn about constexpr, which greatly enhances what the compiler can calculate at compile time; type traits, which make template code more robust; and static_assert, which supports compile-time assertions.