Concepts Lite - Constraining Templates with Predicates
Offered By: CppNow via YouTube
Course Description
Overview
Explore the proposed C++14 language feature of template constraints, also known as concepts lite, in this comprehensive CppNow conference talk. Dive into the world of predicates that determine template argument compatibility, learning how to improve template declarations by explicitly stating requirements. Discover the power of function overloading based on constraints and how this feature can significantly reduce compiler error complexity. Examine the minimal and uncomplicated nature of template constraints, emphasizing correct template usage over definition correctness, and learn how to incrementally adopt them into existing codebases. Gain insights into practical applications of constraints in generic algorithms, data structures, member functions, constructors, overloading, and class template specialization. Benefit from the speaker's personal experiences using constraints in day-to-day programming, including both successful and less effective approaches. Take advantage of the opportunity to experiment with an available GCC-4.8-based compiler featuring this new language feature.
Syllabus
Andrew Sutton: Concepts Lite: Constraining Templates with Predicates
Taught by
CppNow
Related Courses
Computer GraphicsUniversity of California, San Diego via edX Intro to Parallel Programming
Nvidia via Udacity Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera