
6 Jul
2011
6 Jul
'11
5:30 a.m.
I maybe forgot to say that I want g(...) to be chosen for T=const int&. I don't think that's gonna happen; rvalues (at least with no cv qualifiers) are always bindable to reference-to-consts (but, evidently, not reference-to-const-volatiles...), and certainly preferable to (...).
Sorry, my fault. I wanted to say const volatile int&!!! Frédéric