YoVDO

The Detection Idiom - A Simpler Way to SFINAE

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C++ Courses SFINAE Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Computer Graphics
University 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