看板 C_and_CPP 關於我們 聯絡資訊
我不知道有多少版友有在看 Boost 的 library review。 我也忘了當初是加入哪一個 mailing list, ( http://www.boost.org/community/groups.html ) 以至於我都會收到 library review 的 announcement。XD library review 都會有段期限,然後會再寄出 review results, 於是就會知道下一版 Boost 會有什麼新玩意兒 (if it's accepted)。XD 提供一個最近期的 library review announcement 做參考, 廢話不多說,原文照登。 ===================================================== Greeting Boost Developers and Users, It's my pleasure to announce that the review of Ion Gaztañagas' Move library starts May 10th and lasts until May 24th, 2010, unless an extension occurs. What is it? =========== The Boost.Move library would supply an emulated C++1x Move semantics interface, aka RValue References, allowing for a wide variety of easy to use and easy to add in optimization abilities. The most used function it would add would be: val_b = boost::move( val_a ); Which would move val_a to val_b; val_a should not be used after this line. This semantic allows for a vast amount of optimizations, especially in regards to temporaries, see the documentation for further examples and use. Other patterns emulated are && rvalue references for functions/memebers and constructors. There are also a number of STL containers in the sandbox that support move semantics using this library for higher efficiency. Getting the library =================== The latest version of this library may be downloaded from SVN: http://svn.boost.org/svn/boost/sandbox/move/ and the docs may be viewed here Docs: http://igaztanaga.drivehq.com/libs/move/doc/html/index.html and do note, this library is header-only and is designed to be absolutely generic to be useful in all areas of C++ programming. Writing a review ================ If you feel this is an interesting library, then please submit your review to the developer list (preferably), or to the review manager. Here are some questions you might want to answer in your review: - What is your evaluation of the design? - What is your evaluation of the implementation? - What is your evaluation of the documentation? - What is your evaluation of the potential usefulness of the library? - Did you try to use the library? With what compiler? Did you have any problems? - How much effort did you put into your evaluation? A glance? A quick reading? In-depth study? - Are you knowledgeable about the problem domain? And finally, every review should answer this question: - Do you think the library should be accepted as a Boost library? Be sure to say this explicitly so that your other comments don't obscure your overall opinion. Special considerations ====================== If you want or need a primer on the subject, please look at the working draft for C++1x. This linked site has also been shown to be quite useful in describing move usefulness: Want Speed? Pass by Value.: http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/ Move It With Rvalue References: http://cpp-next.com/archive/2009/09/move-it-with-rvalue-references/ And there are further links in that series, but those two will get you started in the domain. Best regards, OvermindDL1, Review manager (Boost.Move) ================================================ 我承認我是來騙 P 幣去 MLB 版下注的。(逃~) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.231.175.229
saxontai:以我幼幼班的C++程度,看library review其實就只能嚐鮮, 05/09 20:45
saxontai:無法提供什麼feedback。(羞) 版上眾多的C++神人也許可以 05/09 20:46
saxontai:哦。XD 05/09 20:46
hilorrk:閣下幼幼班 那我不就還在游... 05/10 05:53
ilovebbs:我還在爸爸裡面...T^T 05/10 11:07
VictorTom:那小弟我還是個人類, 因為還在上輩子沒投胎....XD 05/10 11:20