Interestingly, g++4.4.5, g++4.5 accept the assignment using the initializer list, but g++4.6 does not. Just goes to show C++0x support is experimental. To clarify, this is the code I'm talking about:...
Type: Posts; User: Mozza314
Interestingly, g++4.4.5, g++4.5 accept the assignment using the initializer list, but g++4.6 does not. Just goes to show C++0x support is experimental. To clarify, this is the code I'm talking about:...
I am surprised that this works at all in C++0x. As far as I know initializer lists are only available during initialization, the idea that you can assign to an initializer list is new to me. I'd like...