Loading…
C++Now 2014 has ended
Please visit the C++Now website.
Back To Schedule
Saturday, May 17 • 9:00am - 10:30am
Disambiguation: The Black Technology

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

Overloading gives C++ function calling much greater flexibility than C's.  However, overloading can lead to ambiguities, for which there are common tools: SFINAE, MPL's integral_constant, and tag dispatching.  However, using those tools is a black art compared to just renaming functions. In this talk, we will learn how to use those tools to manage function overload sets.  We will also discover when you must, should, should not, or cannot disambiguate function calls with those tools.

Examples come from implementations of library proposals, libc++, libstdc++, and Boost. MPL experience is not required.

Speakers
avatar for Zhihao Yuan

Zhihao Yuan

R&D Software Engineer, Broadcom Inc.
Zhihao Yuan is an R&D Software Engineer at Symantec, a division of Broadcom. He participated in standardizing designated initializers and improved narrowing conversions in C++20 but ends up almost exclusively programmed in Python last year and only recently picked up C++14 again... Read More →


Saturday May 17, 2014 9:00am - 10:30am MDT
Bethe

Attendees (0)