C++Now 2017 has ended
Back To Schedule
Friday, May 19 • 2:30pm - 4:00pm
The 'Detection idiom:' A Better Way to SFINAE

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.

Hidden in the Library fundamentals Technical Specification, there is a section called "Detection idiom". The specification doesn't really say what it is for, and it has not received a lot of notice.

That's a shame. This is an amazingly powerful method for distinguishing between kinds of types. Writing SFINAE constraints is tedious and confusing, and this makes it much easier to do.

This session will introduce the detection idiom, walk through how it works, and then give examples on how to use it.

avatar for Marshall Clow

Marshall Clow

Principal Engineer, CPPAlliance
Marshall has been programming professionally for 35 years. He is the author of Boost.Algorithm, and has been a contributor to Boost for more than 15 years. He is the chairman of the Library working group of the C++ standard committee. He is the lead developer for libc++, the C++ standard... Read More →

Friday May 19, 2017 2:30pm - 4:00pm MDT
Flug Auditorium