Quote:
Originally Posted by kossolax
Why this one is invalid ?
|
For now, I think you can do
Foo i; i = bar[0];. I checked that it compiled, but not that it worked as expected. Assignment here is handled differently than initialization and initialization only works with constants. We'll look into it further.