The Detection Idiom - A Simpler Way to SFINAE
Offered By: ACCU Conference via YouTube
Course Description
Overview
Explore the Detection Idiom, a powerful method for distinguishing between types, in this 53-minute ACCU Conference talk by Marshall Clow. Learn how this lesser-known feature from the Library fundamentals Technical Specification simplifies SFINAE constraints and makes template meta-programming more accessible. Discover the origins, purpose, and implementation of the Detection Idiom through practical examples, including alligators and structs. Gain insights into the inner workings of the detector struct, instantiation, and the Detected type. Delve into variations like Detection exact and address common questions about this technique. A basic understanding of template meta-programming is recommended for this informative session that promises to streamline your type distinction processes.
Syllabus
Introduction
Outline
Metadetect
Where did it come from
What does it solve
Example
Alligators
structs
detector
struct detector
instantiate detector
DetectedT
Any other questions
How does it work
Variations
Detection exact
Detected
Taught by
ACCU Conference
Related Courses
Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPSACCU Conference via YouTube Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube