YoVDO

The Detection Idiom - A Better Way to SFINAE

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Template Metaprogramming Courses SFINAE Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the powerful "Detection idiom" hidden in the Library fundamentals Technical Specification in this comprehensive conference talk from C++Now 2017. Delve into this underappreciated yet potent method for distinguishing between types, simplifying the often tedious and confusing process of writing SFINAE constraints. Follow along as Marshall Clow, an experienced programmer and significant contributor to Boost and the C++ standard committee, introduces the detection idiom, explains its inner workings, and demonstrates its practical applications through various examples. Learn about the Detection Team, Walter Brown's contributions, and how this idiom solves common programming challenges. Gain insights into concepts such as Nonesuch, Detected, Void_t, Default, Detected_Exact, Detected_Member, and the Detection Free idiom. Discover how to apply the detection idiom to operators and enhance your C++ programming skills.

Syllabus

Introduction
The Detection Team
The Detection idiom
Walter Browns
What problem does it solve
Example
Nonesuch
Detected
How does it work
What does it do
VoidT
Default
Detected Exact
Detected Member
Detection Free idiom
Detection for operators
Questions


Taught by

CppNow

Related Courses

Automated and Connected Driving Challenges
RWTH Aachen University via edX
Basics in computer vision
Higher School of Economics via Coursera
Build a Guessing Game Application using C++
Coursera Project Network via Coursera
ะก/C++ for competitive programming
Moscow Institute of Physics and Technology via Coursera
C++ Interacting with the World and Error Handling
Infosec via Coursera