AI Engineer - Learn how to integrate AI into software applications
You’re only 3 weeks away from a new language
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
This video tutorial provides a comprehensive introduction to C++17 features, perfect for developers upgrading from older C++ versions or exploring modern C++ capabilities. Dive into powerful new additions including std::string_view for faster string handling, inline variables, type-flexible std::any, std::clamp for value constraints, nested namespaces, and std::optional for nullable types. Master the copy and swap idiom with C++17 enhancements, learn about std::variant for type-safe unions, utilize mathematical helpers like std::gcd and lcm, leverage compile-time programming with if constexpr, implement if-else initializers, understand memory management with std::destroy, and explore std::visit for variant handling. Each topic includes practical code demonstrations and real-world examples suitable for intermediate to advanced C++ programmers looking to enhance their skills with modern language features.
Syllabus
00:00:05 std::string_view in C++17 | Fastest Sting In C++
00:07:33 Inline Variable In C++17
00:12:24 std::any In C++17 | No need to worry about data types
00:18:31 std::clamp In C++17
00:20:45 Nested Name Space In C++17
00:22:30 std::optional In C++17
00:28:22 copy and swap idiom using C++17
00:34:11 Variant in C++17
00:38:14 std::gcd and lcm in C++17
00:41:10 if constexpr In C++17
00:46:33 If else initialiser In C++17
00:49:58 std::destroy In C++17 | The real deal of std::destroy
00:56:16 std::visit In C++17
Taught by
CppNuts