ToDo:
i@u6 0:46 [master] > cat non_static_data_init.cc struct S { int i = 42; }; i@u6 0:46 [master] > g++ -std=c++0x non_static_data_init.cc non_static_data_init.cc:2:11: »ÄÇ°¤Ç¤¹¤¬Ì¤¼ÂÁõ¤Ç¤¹: non-static data member initializers non_static_data_init.cc:2:11: ¥¨¥é¡¼: ISO C++ forbids in-class initialization of non-const static member ¡Æi¡Ç zsh: exit 1 g++ -std=c++0x non_static_data_init.cc
¤½¡¢¤½¤¦¤Ç¤¹¤«¡Ä
(00:47)
¤¹¤´¤¯À®ÀÓ¤¬¤ï¤ë¤¯¤Ê¤Ã¤¿¤Ç¤´¤¶¤ë¤Î¤Þ¤
¤³¤¦¤¤¤¦¤Î¤É¤¦¤·¤¿¤â¤ó¤«¤È»×¤¦¤è¤Í¡Ä
(19:33)
Á° | 2012ǯ 7·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£