Thanks. Another good news.
Do you know which compiler is supporting this?
Type: Posts; User: danath
Thanks. Another good news.
Do you know which compiler is supporting this?
yes, I just built gcc 4.4.1 (quite smooth to build it with gcc 4.4.0, but toooo long time) and it worked to compile above syntax, good news to me.
Thanks, anon.
Your suggestion should be workable, but when the compiler sees an ini list ({...}), it will store it into an object of std::initializer_list, so to change this behavior the client...
Hi,
I am studying C++0x with gcc 4.4.0 these days.
Here I need to initialize a std::array object within a function which has a parameter of type std::initializer_list, as below:
...