This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generalized lvalues



On Nov 17, 2004, at 10:47 PM, Matt Austern wrote:


1. It broke valid C++ programs. If we overload a function on constness, like foo(int&) and foo(const int&), then invoking it as foo((int) x) is required to call the const version. Generalized lvalues made us choose the latter.

If it broke it please file a bug and don't complain that we broke it.


-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]