Using Concepts - C++ Design in a Concept World - Part 1 of 2
Explore the fundamentals and advanced applications of C++20 concepts in this comprehensive conference talk from CppNow 2021. Delve into the evolution of concepts from meta-programming to their current implementation, and learn how to effectively use them in real-world projects. Discover techniques for utilizing standard library concepts, writing custom concepts, and designing libraries with concept-based approaches. Examine practical examples, including refactoring std::sleep_for and creating an interval concept, to gain insights into concept design alternatives. Analyze the impact of concepts on C++ designs, comparing them to existing design principles like Liskov substitution. Investigate how concepts influence design patterns, using serialization as a case study to explore tradeoffs in multi-paradigm design.