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

Log in to save this to your schedule 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

Research Engineer, University of Virginia
Zhihao Yuan is a research developer at DePaul University. In the last several years, he participates in the C++ standardization due to personal interests, and most recently, contributed the deduction guide for std::array to C++17.


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

Attendees (0)