Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Example 1: Overloading. Say you have a Widget::Widget( unsigned int ) that can be invoked implicitly, and a Display function overloaded for Widgets and doubles. Consider the following overload resolution surprise:
void Display( double ); // displays a double void Display( const Widget& ); // displays a Widget Display( 5 ); // oops: creates and displays a Widget