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.

avatar for Zhihao Yuan

Zhihao Yuan

Software Enginner, SimpleRose Inc
Zhihao Yuan is a Parallel Computing Engineer at SimpleRose Inc. He participated in standardizing designated initializers in C++20. When freed from CMake, he enjoys a fair amount of anime and light novels.

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

Attendees (0)