Andrew Haley wrote:
Ok now I understand. I assume this behaviour is not triggered often as in C it isAndrew Thomas Pinski wrote:C++98 is not C99 :) there is no rvalue to lvalue conversion for rvalue arrays in C++98. Also this code is still undefined C99 but will most likely become valid C1x.Ah, it's an rvalue array. Good point.
not so common to have an array which is an rvalue. Michel
Sent from my iPhoneAdvertising on gcc list. Dear me... ;-) Andrew.