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.


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