Lets say we have the following code: #include <iostream> #include <string> struct A开发者_高级运维
C++0x is going to make the following code and similar code ill-formed, because it requires a so-called narrowing conversion of a double to a int.
class C { public: C() : arr({1,2,3}) //doesn\'t compile {} /* C() : arr{1,2,3} //doesn\'t compile either {}
i need a structure like this array(){ [0] => array(){ [0] => array(){ // this array will have \'n\' values(n is large, like 2000)