2015-02-01ãã1ã¶æéã®è¨äºä¸è¦§
.NETã¯ã©ã¹ã¨Javaã¯ã©ã¹éã®ç¸äºéç¨ãå¯è½ã«ããã©ã¤ãã©ãªãMITã©ã¤ã»ã³ã¹ï¼æ¬ä½ï¼ï¼GPLv3ï¼ãã¼ã«ï¼ã http://jni4net.com/ https://github.com/jni4net/jni4net .NET CLRã¨JVMãåä¸ããã»ã¹å ã§åä½ããã.NETã¯ã©ã¹ããProxyã¯ã©ã¹çµç±ã§ã®Javaã¯ã©ã¹â¦
C++11以éã§ã¯ãã¦ã¼ã¶å®ç¾©å¤ææ¼ç®å(user-defined conversion operator)ã®æ»ãå¤åãconst TãããéconstãªTã¨ããã»ããè¯ããé¢æ°ãªã¼ãã¼ãã¼ãã§å¼æ°åconst T&ããã³T&&ãåããé¢æ°*1ã¸æ¸¡ãéã«ãåé¢æ°å¼ã³åºãæã®ãªã¼ãã¼ãã¼ã解決失æã«ããã³â¦
C++11æ¨æºã©ã¤ãã©ãªã§æ°ãã追å ãããstd::forward_listã·ã¼ã±ã³ã¹ã³ã³ããã¯ãè¦ç´ æ°ãè¿ãsizeã¡ã³ãé¢æ°ãæä¾ããªããï¼ç©ºå¤å®ã®emptyã¡ã³ãé¢æ°ã¯æä¾ããããï¼ #include <forward_list> std::forward_list<int> fl = /*...*/; size_t n = fl.size(); // NG: ill-formed</int></forward_list>â¦
C/C++è¨èªã§ã¯ãæååãªãã©ã«(string literal)㯠lvalue ã«åé¡ãããããã ãæååãªãã©ã«ã®å¤æ´ã¯æªå®ç¾©åä½(undefined behavior)ãå¼ãèµ·ãããæååãªãã©ã«ä»¥å¤ã®ãªãã©ã«ã¯ rvalue(prvalue) ã«åé¡ããããï¼é常ã®ï¼æååãªãã©ã«åã¯ãC++ã§ã¯â¦
C++æ¨æºã·ã¼ã±ã³ã¹ã³ã³ããstd::listãæä¾ããspliceæä½ã§ã¯ã両ã³ã³ããã®ã¢ãã±ã¼ã¿ãçãããªããã°ãªããªãã #include <list> std::list<int> list1 = { 1, 2, 3 }; std::list<int> list2 = { 4, 5, 6 }; std::list<int, SomeAllocator> list3 = { 42 }; list1.splice(list1.end(), list2)</int,></int></int></list>â¦