C++
libstdc++ ã® regex ãå®è£ ãããããã§ãã http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631#c17 http://ww.reddit.com/r/cpp/comments/1nqxg5/regular_expression_support_c11_regex_in_libstdcv3/ http://gcc.gnu.org/?20131008212833 ããã§ãä»æ§ã®â¦
C++11 ã®ä»æ§ã«å¯¾ããçå C++11 ã®æ£è¦è¡¨ç¾ (std::regex_constants::ECMAScript æ) ã®ä»æ§ã¯ ECMA-262 ã®ææ³ã次ã®ããã«å¾®å¦ã«å¤æ´ãããã®ã¨ãªã£ã¦ãã¾ãã ClassAtom :: - ClassAtomNoDash ClassAtomExClass ClassAtomCollatingElement ClassAtomEquivâ¦
typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, my_allocator<wchar_t> > my_wstring; std::wstring str1; my_wstring str2; str1 == str2; // error str1 < str2; // error str1 = str2; // error ãã¼ããä¸ä¾¿ãallocator ãç°ãªãå ´åã§ããããã®é¢æ°ã¯åé¡ãªãå®è£ ã§ããã¨æãã®ã§</wchar_t></wchar_t,>â¦
å訳ï¼Rvalue References: C++0x Features in VC10, Part 2 - ntnekã®æ¥è¨ãã®è¨äºã®ãããã§ãå³è¾ºå¤åç §ã¨ã ã¼ãã»ãã³ãã£ã¯ã¹ãç解ã§ãããããªæ°ããã¾ãã
http://ml.tietew.jp/cppll/cppll/article/5102 int ** ã const int ** ã¸ä»£å ¥ã§ããªãã®ã¯ãªãã? ã¨ãã話ã int* pi; const int** ppci = π // ããã§ã³ã³ãã¤ã«ã¨ã©ã¼ const int ci = 0; *ppci = &ci; *pi = 3; // âã¨ã©ã¼ãèµ·ãããªããã°ã // conâ¦
Visual C++ 2008 Express Edition ã® std::tr1::variate_generator ãã©ããæ£ããåä½ãã¦ããªãæ°ãããã®ã§ãã...åããã¨ã§æ©ãã§ãã人çºè¦ â yet-unnamed weblog - FC2 BLOG ãã¹ã¯ã¼ãèªè¨¼ãã£ã±ããã°ã£ã¦ã㦠hotfix ã§ç´ããã¨ãâ Google ã°ã«ã¼â¦
new A 㨠new A() ã®éãï½freeml byGMO ã«ããã°ãPOD (Plain Old Data) ã® default initializer 㯠0 åæåã§ãããdefault initializer ãå¼ã¶ãã©ãããå¶å¾¡ãããã¨ãã§ããããããç¥ããªãã£ãã
俺ã«ã¼ã«çãªã¢ãã§ãã enum ã§ãé£ç¶ããå¤ãå®ç¾©ããæ㯠..._begin, ..._end ãæ¸ãã¦ããã¾ã enum Name { NAME_HOGE_begin, NAME_HOGE_A = NAME_HOGE_begin, ... NAME_HOGE_Z, NAME_HOGE_end, NAME_PUHA_begin = NAME_HOGE_end, NAME_PUHA_A = NAME_PUâ¦
ä¸æ©å¯ãã¨ã¢ã©ä¸æè°ï¼æ¨æ¥ãããªã«æ©ãã ãã°ãããã£ã¨ããéã«è§£æ±ºãããï¼â¦ãããªãã¨ãããããã¾ãã
ä»æ¥ã®ã¯ã¾ãã©ããã¯ã¹ã¿ãã¯ãµã¤ãºã§ãããããã°ã©ã ãã¨ã¦ãæåä¸å¯©ã§ãå®è¡ãã¦ãã人ã«ãã£ã¦è½ã¡ãå ´æãç°ãªã£ãããããè¡ãã³ã¡ã³ãã¢ã¦ãããã¨å¥ã®ç®æã§è½ã¡ãããå¥ã®è¡ãã³ã¡ã³ãã¢ã¦ãããã¨å ¨ãå¥ã®ç®æã§è½ã¡ãããã©ãã¿ã¦ãé¢é£æ§ã®ãªâ¦
void enable(bool enable); ãã®ãããªé¢æ°ãªããenable(true); ã¨æ¸ãã°ãæå¹ã«ãããã§ãenable(false); ã¨æ¸ãã°ãç¡å¹ã«ãããã¨ãããã¨ãä¸ç®çç¶ã§ãã®ã§åé¡ããã¾ãããã§ããboolã£ã¦ä½ãæå³ãã¦ããã®ãçµæ§ããããªããªããã¨ãå¤ããã§ãã vâ¦