Главная
Study mode:
on
1
Concepts Lite in Practice
2
Run-time polymorphism
3
Comple time polymorphism
4
Template troubles
5
How, and why, did we get here?
6
Ler's build up from a trivial example
7
What about type conversion?
8
Generalising the function
9
General Templatising the function
10
Further extending the template
11
Constraining the template
12
magic.h
13
Using 'requires
14
Using a named concept
15
Using a named variable concept
16
Named concepts
17
Concepts - first reflection
18
Constraints and interfaces
19
Simplifying complex overloads
20
Concepts simplifying overloads
Description:
Explore the practical applications of C++ Concepts "Lite" in this comprehensive ACCU 2016 conference talk by Roger Orr. Delve into the revised proposal for Concepts, now available as a Technical Specification, and understand how it addresses improved compiler diagnostics and template requirement expression. Learn about the implementation available in gcc's trunk and gain insights into the problems Concepts aims to solve. Examine the background of Concepts and work through various practical examples, covering topics such as run-time and compile-time polymorphism, template troubleshooting, and the evolution of Concepts. Build knowledge from trivial examples to more complex scenarios, including type conversion, function generalization, template constraints, and the use of 'requires' clauses. Discover how Concepts simplify complex overloads and enhance interface design. No prior exposure to Concepts is required, but a working knowledge of C++ is necessary to fully benefit from this in-depth exploration. Read more

C++ Concepts "Lite" in Practice

ACCU Conference
Add to list