Today on SO:
Overload resolution between object, rvalue reference, const reference
Given all three functions, this call is ambiguous. [Why?]
int f( int ); int f( int && ); int f( int const & ); int q = f( 3 );
March 18-23, Tokyo, Japan
April 17-20, Bristol, UK
April 24-26, Leganes, Spain
April 30, Online
May 7-12, Aspen, CO, USA
June 24-29, St. Louis, MO, USA
July 2-5, Folkestone, Kent, UK
By Blog Staff | Jul 31, 2013 07:57 AM | Tags: intermediate
Today on SO:
Overload resolution between object, rvalue reference, const reference
Given all three functions, this call is ambiguous. [Why?]
int f( int ); int f( int && ); int f( int const & ); int q = f( 3 );
There are currently no comments on this entry.
Add a Comment
Comments are closed.