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 11-13, Online
March 16-18, Madrid, Spain
March 23-28, Croydon, London, UK
March 30, Kortrijk, Belgium
May 4-8, Aspen, CO, USA
May 4-8, Toronto, Canada
June 8 to 13, Brno, Czechia
June 17-20, Folkestone, UK
September 12-18, Aurora, CO, USA
November 6-8, Berlin, Germany
November 16-21, Búzios, Rio De Janeiro, Brazil
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.