So, I read here: https://stackoverflow.com/a/3606266/2326 that this is illegal:
foo(i++, i++);
But I believe that since there is no forced sequence that I understand, this is the case for initializer lists. So, this legal code?
const int foo[] = { i++, i++ };
c ++ language-lawyer arguments initializer-list
Jonathan mee
source share