c++
ãã§ã«å¤ãã®æ¹ããåç¥ã®ãã¨ã¨æãã¾ãããæ ªå¼ä¼ç¤¾ãã³ã°ã²ã¼ãããã¾ããªããããã°ã©ãã³ã°ã®éå°æ¸ ãProgrammers' Grimoireãããçºåããã¾ããçºå£²åã¬ãã¥ã¼ãããã¨ãããã¨ã§ãid:faith_and_brave ãããã PDF ãé æ´ãã¦ããã®ã§ãããã¾ã£ãâ¦
ãããã¯ãã«ã¨è¡åã®ç©ãè¨ç®ãããããªé¢æ° product() ãä½ããå¼æ°ã«ããã¯ãã«ãè¡åã表ãæ§ã ãªãã®ãåãåãããããã¸ã§ããªãã¯ã«ä½ããã¨ã«ããããã®ãããªå ´åã«ãã³ã¼ããå®éã©ã®ããã«æé©åãããã®ããè¦ã¦ã¿ããã¨ã«ãããä¾ã¨ãã¦ãããâ¦
Windows SDK ãã¤ã³ã¹ãã¼ã«ããx64 ã³ã³ãã¤ã©ãããããã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã«ããã ãã§ã¯ã ãã§ã次ã®æä½ãå¿ è¦ã ã£ããC:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin ã«ãã以ä¸ã®ãã¡ã¤ã«ã以ä¸ã®å ´æã«ç§»å (+ãªãã¼ã ) ããã vcvâ¦
Boost.Intrusive ã使ãããå ´é¢ã¯çµæ§ãããã®ã®ããªãã hook ã¨ãæ¸ããªãã¡ããããªãã®ããæ¢åã®ãã¼ã¿æ§é ã«ã¯é©ç¨ã§ããªãã®ããã¨è«¦ãã¦ãããã¨ããããããããã½ã¼ã¹ãèªãã§ã¿ã㨠ValueTraits ã¨ãã trait ã¯ã©ã¹ãæå®ãããã¨ã§å®å ¨ã«ãã¼â¦
ããåç´ã« boost::adjacent_list ã¨ããã®è¾ºã«èå³ããªãå ´åã©ãããã°ãããã£ã¦è©±ã§ããé©å½ãª MutableGraph ã³ã³ã»ãããå®è£ ããã¯ã©ã¹ãç¨æãã¦ããã°ã¾ãä¸å¿åãã¿ããã§ãã #include <map> #include <string> #include <iostream> #include <boost/property_map/property_map.hpp> #include <boost/property_map/dynamic_property_map.hpp> #include </boost/property_map/dynamic_property_map.hpp></boost/property_map/property_map.hpp></iostream></string></map>
æ®å¿µãªããæç¨ã§åå ã§ããªãã£ã ã¢ãã³PHPåå¼·ä¼ãSPL ã®çºè¡¨ã Ust çµç±ã§èãã¦æ¥½ãããªã£ã¦ããã®ã§ãBoost.PHP ã§ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£ ã§ããããã«ãã¦ã¿ãã追è¨: Boost.PHP ã®å°å ¥ã«ã¤ãã¦ã¯ãid:Kiske ãããç´ æµãªãã¥ã¼ããªã¢ã«ãæ¸ãã¦ããâ¦
追è¨: ãã£ããæ»ãå¤ããªã·ã¼ã®ã¨ãã㧠boost::python::return_internal_reference<> ã使ã£ã¦ãã¾ããã¡ã¢ãªãªã¼ã¯ãå¼ãèµ·ããã¦ããã®ã§ä¿®æ£ãã¾ãããStackless Python ã§ããã° continuation ã使ããã®ã§ãPython å´ã§ C++ ãã¾ããå¤é¨ã¤ãã¬ã¼ã¿ã¨â¦
次ã®ãã㪠C ã®ã³ã¼ãã gcc ã§ã³ã³ãã¤ã«ããã¨ããã·ã³ãã«ãaãã®ãããã°æ å ±ãã©ã®ããã« DWARF ã«ãªã£ã¦ãããã dwarfdump ã§è¦ã¦ã¿ãã¨... enum X { A }; typeof(A)* a; ãªããã¨ã¦ãæ®å¿µãªãã¨ã«ãªã£ã¦ããã LOCAL_SYMBOLS: <1>< 45> DW_TAG_enumâ¦
追è¨: ãã³ãã¬ã¼ãã®ç¹æ®åã¨åæã«ã¤ã³ã¹ã¿ã³ã¹åããã¦ããã¨ããã ãã§ãããä»æ§ã®ã©ãã«æ¸ãã¦ããã®ãã¯èª¿æ»ä¸ä»¥ä¸ã®ããã« template specialization ã¨ããã®ã¯ã¤ã³ã¹ã¿ã³ã¹åããããã®ãæ示çã«ç¹æ®åããããã®ä¸¡æ¹ãå å ããæ¦å¿µã®ããã§ãããâ¦
追è¨: ã¿ã¤ãã«ãä¸æ£ç¢ºã ã¨æã£ãã®ã§ä¿®æ£ãWassr 㧠id:kazuhooku ãããã¤ã¶ããã¦ããã®ã§ãããã«è§¦çºããã¦ãããã«ãã¦ããã® 2 ã¤ã¯æ¬å½ã«æ°´ã¨æ²¹ã ããtypeinfo è¦ã¦ãã£ã¹ããããããã¨ããã®ãã°ã£ã¡ãã¯ã¾ãå ´åã¨ããã®ãçµæ§ããããã ãã©ãâ¦
æããã«åè ã®æ¹ãéãã ããã¨æã£ã¦ãããã³ã³ãã¤ã©ããªãã¦ããããã ã g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warrantyâ¦
æå³ãããã©ããããããªããã©æãã¤ããã®ã§ãâ以ä¸ãã¹ãã³ã¼ã
追è¨: id:hasegawayosuke ããæ°ããc4xã¢ã?ãE4X ã® E 㯠embedded ã ã¨æã£ã¦ãã ECMAScript ã ã£ãã®ãã ã¾ã AS3 ã® E4X ã¯ãªããªãã ã¨ãã話ãããããªâ¦ã ã¤ããã£ã¨ãªã£ã¦ãã£ãã int main(int, char **) { using namespace xml_builder; xml($ â¦
Perlã®è¬APIãwrapãã¦ãPerlã¹ã¯ãªããã®é¢æ°ãC++ããç°¡åã«å¼ã³åºããããã«ãã¦ã¿ããã¦ãã ãªãã¡ã¬ã³ã¹ã«ã¦ã³ããééçã«è¡ããããpimplå½¢å¼ã®ã³ã³ããã使ã£ã¦ã¿ã mortalãééçã«è¡ããããcall_sv()ã«ããé¢æ°å¼ã³åºããå®å ¨ã«ãã©ãã¯ããã¯â¦
int main(int, char**) { for (static int a = 3; --a;) {} // ããã¯éã for (int a = 2; int b = --a; ) {} // ãã¢ãããããããéã if (bool b = true) {} // ãããéã struct foo { foo(int) {} operator bool() { return false; } }; if (struct â¦
諸äºæ ã§ããã°åå¤ãã¾ãããlibstdc++ã¨STLportã§ã¯æ®éã«éãä¸ã®ãããªã³ã¼ãããVC++ (dinkumware) (2008-12-18 04:50追è¨: VC++ã®_SCL_SECUREç³»ã®ãã§ãã¯ã«ãããã®ãªã®ã§dinkumwareã¯ããã¾ãé¢ä¿ãªã) ã§ã¯åããªãã¦å°ã£ã¦ãããoperator==()ã§è½â¦
çµå±ãä¸ã®åé¡ã¸ã®å¯¾å¦ã¨ãã¦ãé©å½ãªç©ºã³ã³ãããä½ã£ã¦ãããã¤ã®ã¤ãã¬ã¼ã¿ãæå¹ã§ãªãã¤ãã¬ã¼ã¿ã¨ãã¦æ±ãäºã§éãããã¨ãããã ãã©ããã§ãä¾ç¶ä¾å¤ãåºãããã¹ãã³ã¼ãã¯ä»¥ä¸ããããã«ãããéããªãã¨ä»æ§ã«åè´ãã¦ããã¨ã¯è¨ããªãã ããã â¦
å®ã¯Python温æ³ã«è¡ã£ã¦ãã¾ããã 1æ¥ç® å¤æ¹ã¾ã§ä»äºã®ãã°ãã³ãã£ã³ã°ã Boost.Asioã触ããã¨ã³ã¼ããæ¸ãå§ããã éä¸ã§BoostãMac OS Xã®frameworkã«ããããªã£ã¦ããã®ã§Boostã®ãã«ãã·ã¹ãã ã®èª¿æ»ãéå§ã å¤é£ãå¥å¦ãªèªå·±ç´¹ä» (ãã¯ããã«ãè©«â¦
ã¾ãã¾ãé ãæªãããã§äºæ³ä»¥ä¸ã«æéãããã¦ãã¾ã£ããä¾ãã°æ¬¡ã®ãããªã¯ã©ã¹ã Pyrex (Cython) ã§ã©ãããããã¨ãèããã template<typename T_> struct position: public boost::array<T_, 3> { position() { (*this)[0] = 0; (*this)[1] = 0; (*this)[2] = 0; } positio</t_,></typename>â¦
ãããå½ã¦ã«ã§ãããªããããªã Boost.Preprocessor 使ããã«ããããã¨ããã #include <functional> #include <iostream> #include <cstddef> template<std::size_t Nrep_, typename Timpl_> struct iter { inline void operator()(Timpl_& op) const { op(Nrep_); iter<Nrep_ - 1, Timpl_>()(op); } }; template<typename Timpl_> struct iter<0, Tâ¦</typename></nrep_></std::size_t></cstddef></iostream></functional>
Boost.Variantã®ããã¥ã¡ã³ãã«ãã以ä¸ã®èª¬æã¯ç©ããã«Boost.Anyãdisã£ã¦ããããã«è¦ããªãããªããã¤ã Boost.Any ã® swap 㧠no-throw ãä¿è¨¼ããã¦ãã®ã¯ãã¤ã³ã¿å士ã®äº¤æã ããã§ããããªãå¥ã« Boost.Variant ã§ãã¤ã³ã¿ãæãã¦ããããâ¦ã Of câ¦
Boostãã©ãã©ãè¥å¤§åãã¦ããã®ã«çãã²ããã人ã¯å°ãªããªãã¨æããç§ãªã以ä¸ã®ããã«ã«ãã´ã©ã¤ãºãã¦æä¾ãããã¨èãããã©ãããã¾ã ã«ã¢ããªã·ãã¯ãªããæ¹ãå´©ããªãã®ã¯ãªããçç±ããããã ããããã¡ãªã¿ã«ã以ä¸ã®ãªã¹ãã§ã¯ã©ã¤ãã©ãªéã®ä¾â¦
ã¡ããfreehg.org ã¯ç¥ãhttp://freehg.org/u/moriyoshi/mozo-php/ãåç §ãã¦ãã ããã¾ããã¤ãã§ã« PHP ã® parser 㨠lexer ã C++ ã«ç§»æ¤ãããã¤ã æ§ææ¨ä½ãã¨ã*1ã¾ã§è¡ã£ãã¾ã¾ã§æ¢ã¾ã£ã¦ãããã®åã誰ãæ¾ã£ã¦ãã ãããhttp://freehg.org/u/moriyâ¦
ä»æ¥ã®æåã®æ¹ã«ãªãªã¼ã¹ãããã®ã¯ã¡ã¢ãªãªã¼ã¯ãã¾ãã æ¬æ°ã§ä½¿ã£ã¦ããæ¹ã¯ããããææ°çãå度è½ã¨ãã¦ãã ããã ã¨ã©ã¼å¦ç (1) C++ ã®é¢æ°ããã¨ã©ã¼ãåºãã¦å¼ã³åºãå ã«å¾©å¸°ãããã¨ãã¯ãmozo::php::runtime_error ã throw ãã¾ãã throw phpâ¦
(追è¨: ã¿ã¤ãã«ã®ä¸é¨ã«ã¿ã°ãå ¥ãã¦ããã¨ãããæ£ããã¿ã°ã¨ãã¦èªèãããªãã£ãã®ã§ç´ãã¾ãããéè¤RSSã¨ã³ããªãçºçããããã¿ã¾ããã) åæ¥ã®ç¶ãããã¦ã³ãã¼ãã¯ããã主ãªå¤æ´ç¹: std::string ãæ»ãå¤ã«ã§ããªããã°ã®ä¿®æ£ã HashTable ã®å¤æâ¦
åã«libffi ã使ã£ã¦ã¯ãã¼ã¸ã£ãä½ãããã¨ã¯ç¢ºèªãããã©ãããåæéãã ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã¨id:mb2syncããã®æ¥è¨ (ã¹ã¿ã¼ãããã¨ããããã¾ãã) ã« c_function ã¨ããã®ãç´¹ä»ããã¦ããã®ã§è©¦ãã¦ã¿ãã #include <iostream> #include "c_function.hpp" stru</iostream>â¦
ãã¼ãä¹ ãã¶ãã«ã§ãã¾ã調ã§ããæ¬æ¥ã®ç¬¬2åPHPæ¡å¼µåå¼·ä¼ã§ã°ãã°ããªãããã¡ããã£ã¨çºè¡¨ããã¦ããã ããããã®ã©ã¤ãã©ãªã«ã¤ãã¦ã®ç´¹ä»ã§ãããã¦ã³ãã¼ãã¯ä»¥ä¸ããã§ãã¾ãã http://www.voltex.jp/downloads/mozo-php-20080324.tar.bz2 ææ°çã¯â¦
ãã®çµã¿åããã«ãµã¨èããå·¡ããã¦ã¿ããä¾å¤ã¯ã©ã¹ã«ã swap() ã¯å¿ è¦ã? ã§ããã©ããæ確ãªçããè¦ã¤ãããªãããããã swap() ã£ã¦ä»£å ¥æä½ã§ã®ä¾å¤å®å ¨æ§ãä¿è¨¼ããããã ãã®ãã®? #include <iostream> #include <stdexcept> #include <string> class MyException: public std::</string></stdexcept></iostream>â¦
mozilla/xpcom/reflect/xptinfo/public/xptinfo.h:215-218 â Bugzilla@Mozilla â Bug 49641 ãè¦ã¦ãã¦ãªãã»ã©ã¨æã£ãã®ã§ã¡ã¢ããã®ãããä»æ§ã«è©³ããã¯ãªããã©ããã¤ã¦ã¯ incomplete ã¿ã¤ãã¸ã® reinterpret_cast ã許ããªãã³ã³ãã¤ã©ã¨ããã®ããã£â¦