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 );
February 10-15, Hagenberg, Austria
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
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.