Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
Please visit the C++Now website.
View analytic
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

Rackspace
Zhihao Yuan is one of the few C++ programmers in Rackspace.  He wrote several proposals and participates in the C++ standardization due to personal interests, but contributed only 10 lines to the C++14 working draft.


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

Attendees (14)

  • Profile image