更新しました。 ttp://booster.x0.to/ 今回から、前回のビルドからの変更点を記載したchangelog.txtを同梱する様に致しました。 以下その一部 Fix bug in bessel_jn for n == -1. Add new test case. Modified : /trunk/boost/math/special_functions/detail/bessel_jn.hpp Modified : /trunk/libs/math/test/test_bessel_j.cpp Added missing config.hpp include for the wide characters support configuration macro. Modified : /trunk/libs/date_time/test/testfrmwk.hpp Changed to two_bit_color_map by default Modified : /trunk/boost/graph/dijkstra_shortest_paths.hpp Default color map to white, and fixed some warnings Modified : /trunk/boost/graph/two_bit_color_map.hpp Add missing #include <iostream>. Modified : /trunk/libs/asio/example/buffers/reference_counted.cpp Modified : /trunk/libs/asio/example/chat/posix_chat_client.cpp Modified : /trunk/libs/asio/example/nonblocking/third_party_lib.cpp Make validation a static member function. Fixes #2673 Modified : /trunk/boost/random/inversive_congruential.hpp Modified : /trunk/boost/random/linear_feedback_shift.hpp added missing std:: Modified : /trunk/boost/flyweight/intermodule_holder.hpp Use a pipe if eventfd is not supported at runtime. Fixes #2683. Modified : /trunk/boost/asio/detail/eventfd_select_interrupter.hpp Ensure arguments to windows::overlapped_ptr::complete() are passed through to the completion handler. Fixes #2614. Modified : /trunk/boost/asio/detail/win_iocp_overlapped_ptr.hpp fix wrong include Modified : /trunk/boost/fusion/include/remove.hpp
[Math] - Fix bug in bessel_jn for n == -1. - Add new test case. [DateTime] - Added missing config.hpp include for the wide characters support configuration macro. [Graph] - Changed to two_bit_color_map by default - Default color map to white, and fixed some warnings [Asio] - Add missing #include <iostream>. - Use a pipe if eventfd is not supported at runtime. Fixes #2683. - Ensure arguments to windows::overlapped_ptr::complete() are passed through to the completion handler. Fixes #2614. [Random] - Make validation a static member function. Fixes #2673 [Flyweight] - added missing std:: [Fusion] - fix wrong include
更新しました。SVNは1.39に移行しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Units] Zeroing in on bug with sun < 5.9 Begin tracing xlc failure [Graph] Integrating SOC 2007 code Importing all_cliques, all_cycles algorithms Importing geodesic distance module from SOC. Imported clustering coefficient, eccentricity and core numbers algorithms. [Regex] Fixes #2713: change table initialisation so that it's initialised statically. Workarounds to allow compilation by Sun studio without the -library=stlport4 option. [Random] correctly detect the end of the range in lagged_fibonacci_01::seed. Fixes #2703 Split random_test.cpp into multiple files to avoid hitting resource limits. Correct stringizing [Spirit] Bug fix to iterator
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Units] Get rid of duplication between conversion_helper and conversion_factor_helper. [Graph] Updating core_numbers from David Gleich. Importing examples from SOC 2007 [Random] Change shfit2 to shift2. Add missing namespace scope definitions of shift1 and shift2. Fixes #2764 Convert uniform_01 to the current distribution interface, dispatching on the first template paramter to retain backwards compatibility. Fixes #599. Fixes #1544. Fixes #2679 [Ptr_container] fixed bug in ptr_sequence_adapter.hpp, plus removed some warnings in detail/reversible_ptr_container.hpp. added new overload of new_clone() that allows for null-values. removed nasty bug in erase() [Fusion] use vectorN instead of vector for shorter names #define to allow testing if unused_type has IO [Interprocess] Ticket #2766: error in boost::interprocess::file_lock::swap [intrusive] Ticket #2755: compile error in boost_intrusive 1.38.0: a set of classes with protected destructor [Spirit] Fix: rename "boost::math" to "boost::spirit::math". Remove :: from memcpy() [Serialization] Correction to extended_type_info implementation
更新しました。今週はソースの追加や削除が多いです。 ビルド用の設定ファイルもチューニングされ、今迄フルビルドに1時間弱掛かっていたのが20分に超高速化されました。 ttp://booster.x0.to/ 以下更新内容の一部 [Gil] GIL: fixed Ticket 784: Wrong initilization of data members in packed_pixel constructors [Utility] Fixed const issue of value_initialized according to ticket #2548. [Functional] adds missing template parameters for partial specialisations Fix the hash dirname. [Serialization] fixed namespace [Archive] permit start/end load/save to be overridable [Fusion] updates functional module: only two unfused variants, now Fix: remove non-existent test [Random] Initialize _modulus in the linear_congruential constructor that takes a pair of iterators. Fixes #2665 [Unordrered] Make copy_buckets and move_buckets member functions - so that calling them is a bit simpler. Move some of the data structure classes out of hash table data. [Config] Merge branches/cpp0x into trunk, enabling a bunch of BOOST_NO_* macros for C++0x early adopter feature tests [Math] Merges changes from Sandbox version: MPFR Support. New distributions: laplace, logistic and hypergeometric. Added C# usage example.
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Config] config: add cpp0x files not added after merge config: fix both BOOST_HAS_LONG_LONG and BOOST_NO_LONG_LONG getting defined at the same time for some compilers [Math] Add option to disable use of std::fpclassify. Fix for no long double support. [Bind] Make bind.hpp and mem_fn.hpp forward to bind/bind.hpp and bind/mem_fn.hpp. (Ref #2238) [Unordered] Add missing return for operator=. [Smart_ptr] Move smart_ptr into boost/smart_ptr/*.hpp (refs #2239). Fix enable_shared_from_this-related tickets in trunk. Refs #2126. Refs #2584. [Signals2] Merged Signals2 from sandbox to trunk. [Graph] Fix: Avoid compiler warning if BOOST_NO_HASH is already defined.
すでに自己解決した問題なんだけど、ぐぐっても日本語の情報が見つからなかったので、垂れ流しておきます。 環境依存(MinGW)っぽい話で、ここに書くべきか分かりませんが。自分の環境は OS: Windows XP (Home Edition, SP2) コンパイラ: gcc version 3.4.5 (mingw-vista special r3) boost 1.38.0
<boost/date_time/filetime_functions.hpp> がインクルードされるときに以下の警告が出ます。 > (略)/boost/date_time/filetime_functions.hpp:101: warning: left shift count >= width of type
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Signals2] some inspect cleanups (mostly getting rid of tabs). Finally fixed some odd test errors on msvc9. [Smart_ptr] De-optimize assignment into this_type(r).swap(*this) Attempt to fix como link failure. [Functional] Move hash_fwd into the hash subdirectory. Remove deprecated headers. [Math] Misc. small platform specific fixes and expected error rate adjustments. [Fusion] Protected unused_type by an ADL barrier [Numeric] added unit test for LU decomposition add new constructor from vector to permutation matrix [Serialization] checked in new type trait - is_virtual_base_of.hpp Try new version of is_virtual_base_of.hpp [Wave] Wave: now compiles even with BOOST_FILESYSTEM_NO_DEPRECATED defined [Typeof] BOOST_TYPEOF_NESTED_TYPEDEF now supports expressions containing "this" for VC compilers [Detail] Initial commit. [Config] Added configuration macros BOOST_NO_AUTO_DECLARATIONS and BOOST_NO_AUTO_MULTIDECLARATIONS. [Function] 60% speedup on a micro-benchmark that copies and calls such function objects repeatedly.
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Type_traits] Add is_virtual_base_of. Add extra tests for is_base_of to test virtual inheritance. [Math] Add instrumentation code and some FPU control options. Updated the sign functions to use Johan Rade's fp-utilities code. [Serialization] Use new is_virtual_base_of [Config] Revert 51733 - it broke the regression testing system [Proto] work around issue with <termios.h> #define'ing B0 add proto::noinvoke to block metafunction invocation in ObjectTransforms [Tuple] fixed tuples::length not having a specialization for const tuple<> and const null_type
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Fusion] added default implementation for iterator_facade [Math] Fix bug in cyl_bessel_i that hits when v=0.5 and x is small. [Archive] Throw new exception when program class version is less than file class version. [Serialization] moved to type traits [Smart_ptr] Move enable_shared_from_this2.hpp to boost/smart_ptr. [Timer] Fix spelling boo boo (Shawn Roe) [Regex] Patch for ICU on AIX. [Type_traits] Added has_new_operator from Robert Ramey. [Filesystem] System, Filesystem: remove boost/detail/test_framework.hpp; use boost/detail/lightweight_test.hpp instead (Thanks to Peter Dimov for pointing this out) [Units] Fix return type for division by a constant [Tr1] shared_count.hpp has moved. [Interprocess] Changes for Boost.1.39 [Intrusive] Changes for Boost.1.39 [Bind] Add ref_compare for weak_ptr. Refs #2849.
更新しました。 今週の更新の大半はドキュメントとGraphのアップデートでした。 ttp://booster.x0.to/ 以下更新内容の一部 [Flyweight] made Boost.Interprocess names shorter to accommodate some filesystems [Type_traits] Add missing #includes. [Graph] Renamed some functions to work better on some compilers First batch of merges from Parallel BGL Merged more changes from Parallel BGL [Spirit] Fixes to exception messages. Fixes to some exception messages. [Numeric] storage.hpp: fix #2891, now check new size instead of old one [Proto] fix proto::lazy
更新しました。今週はビルドシステムとドキュメントとGraphを中心にかなり大量の更新が為されています。 ttp://booster.x0.to/ 以下更新内容の一部 [Graph] Merged headers and source files (but not examples, tests, or docs) from Parallel BGL [Spirit] New lexer guts struct: note detail namespace! [Wave] Use data() accessor on state_machine. [Mpl] add mpl::char_ and mpl::string, fixes #2905 [Program_options] Merge from release: [Detail] Avoid an unnecessary copy in 'operator[]' [Exeption] added functions: current_exception_diagnostic_information, current_exception_cast [Graph,Mpi,Pending,Property_map,Python,Signals] Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names [Flyweight] fixed a thread safety bug in refcounted [Math] signbit can return either zero or not, rather than true/false. [Format] Fixed unused parameter - bug #2455 [Config] As of STLport 5.2, unordered_set and unordered_map have been moved from the std:: namespace to the std::tr1:: namespace [Asio] Prevent locales from affecting the formatting of endpoints. Fixes #2682.
更新しました。今週もドキュメントとビルドシステムの整備が多いです。 亦、boost_pythonのビルドをPython2.6.2ベースに移行しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Graph] Merged in changes from Nick to distributed betweenness centrality Merged in code and docs from Parallel BGL; CMake-based build system for tests and examples and docs is not working; src and doc can be built with bjam
[Mpl] mpl::string is a bidirectional sequence, not random access; c_str is a separate metafunction, not a class static fix off-by-1 errors add and document BOOST_MPL_LIMIT_STRING_SIZE and mpl/limits/string.hpp saving some additional template instantiations [Math] Add more instrumentation code, along with some AMD64/Linux fixes. [Exeption] fixing an error that caused warnings in diagnostic_information.hpp [Signals2] signals2/signal.hpp does not need to include signals2/shared_connection_block.hpp. Fixed compile errors in c++0x mode. [Interprocess] Modified examples so that they can be run in parallel. [Unordered] Add stream output to the count test helper for unordered. [Filesystem] Fix #2948 - Path typedef moved to namespace boost::filesystem Fix incompatibility between asio and ncurses.h due to the latter defining a macro called "timeout". Fixes #2156. [Program_options] Sync trunk&release branches
5.2.2 Function call の p4 より > When a function is called, each parameter shall be initialized with its corresponding argument. 同じく p8 より > All side effects of argument expression evaluations take effect before the function is entered.
更新しました。ここ暫くはGraphの更新が多いです。それから、Cmakeでのビルド環境が整備されつつある様です。 ttp://booster.x0.to/ 以下更新内容の一部 [Graph] Applied performance patch from Jongsoo Park. Importing null (no-op) property map from SOC/2007. [Math] Add some macro-expansion-suppression code to test_sign.cpp. Fix for no long double math functions. [Smart_ptr] Bring back "explicit" on the auto_ptr rvalue constructor. Refs #2951.
[Asio] Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined. [Property_map] Approximated non-ASCII character by ASCII one [Pending] Fixed tab [Signals2] Fix c++0x perfect forwarding for deconstruct. [Functional] Fix float support on vxWorks. [Connfig] Added support for vxworks.hpp. Fixes #2959. [Fsion] Trying to fix ambiguities of operator<<() for unused_type. [Regex] Added possessive modifiers ++ *+ ?+ {}+. Added support for \v and \h as character classes as per Perl-5.10. [Serialization] Add missing 'inline'. Don't include <exception> when excepetions are disabled.
C:\>g++ --version g++ (GCC) 3.4.5 (mingw special) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
更新しました。今週はSpiritに大きな変化がありました。 ttp://booster.x0.to/ 以下更新内容の一部 [Mpl] portability patch for sunpro on little-endian platforms [Regex] Added support for \g \K and \R. [Spirit] Merging Spirit V2.1 Spirit: Added missing files, deleted old files, cleaned up empty directories Spirit: Started to add repository of reusable Spirit components, added repository::karma::confix and some related tests Spirit: Fixed assertion in multi_pass iterator [Statechart] Updated VC project files to 1.39. Fixed a bug that prevented the use of boost::ref() with fifo_scheduler<>::create_processor<>, reported by Steve Hawkes. This should fix the non-standard code used in changeset 52616. [Signals2] Trying to fix compile problems on msvc 9 in release mode. [Serialization] Correct logic for enabling THROW_EXCEPTION Add support for std::bitset.hpp
>>482 ホントだ、1.36以降、3ヶ月刻みになっているね。 Version 1.39.0 May 2nd, 2009 12:00 GMT Version 1.38.0 February 8th, 2009 12:00 GMT Version 1.37.0 November 3rd, 2008 12:00 GMT Version 1.36.0 August 14th, 2008 12:00 GMT Version 1.35.0 March 29th, 2008 12:00 GMT
>>493 int func_geti_reti(const int& num) を int func_geti_reti(const int num) や int func_geti_reti(int num) にしてみましたが、 error: invalid initialization of non-const reference of type 'const int (&)(const char*)' from a temporary of type 'const int ()(const char*)' と言われます。 私の見解では 関数の戻り値などのテンポラリオブジェクト(この場合はint)を constな参照で束縛できるというC++の仕様がありますから、 このあたりが問題な訳ではなさそうだと思っております。
↓ 更新しました。link=shared runtime-link=sharedでmpiとzlib絡みのエラーが発生して 計12ファイルが欠損しておりますが追々改善していきます。毎度人柱仕様で申し訳ございません。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit.Support: Renamed policy namespace for iterators Spirit: fixed member initialization sequence Spirit: added some parenthesis' avoiding macro expansion of certain names [Archive] fix for error in handling compilers which don't handle has_new_operator [Config] Add __GXX_EXPERIMENTAL_CXX0X__ [Units] Allow specifing the default conversion using either base units or units. [wave] Update Wave to cope with some namespace reshuffling in Spirit Wave: Pending fix after namespace change in Spirit2 iterators [Type_traits] new test of empty aligned_storage [mpi] Fixes for bugs 2586 and 2594 ↓ [Regex] Add support for named sub-expressions. [Utility] eliminate noisy warning on msvc, fixes #2993
まだ軽くしか調べていませんが、どうもbjamか設定ファイルがバグっているみたいですね。 --build-type=completeやlink=static runtime-link=staticとすると何故か error: link=shared together with runtime-link=static is not allowed error: such property combination is either impossible error: or too dangerious to be of any use と表示されますが、--build-type=complete --with-mpiやlink=static runtime-link=static --with-mpi(--with-pythonでも可)とすると ビルドが通ります(但しmpiやpython関連ライブラリのみですが)。
static-staticビルド不可の原因が半分掴めました。対症療法的なビルドは可能になりました。 svn rev.52330(April 11,2009)での\Jamrootの更新で、160行目周辺の if <link>shared in $(properties) && <runtime-link>static in $(properties) && ! ( <toolset>cw in $(properties) ) { return <build>no ; } が if <link>shared in $(properties) && <runtime-link>static in $(properties) && ! ( <toolset>cw in $(properties) ) { ECHO "error: link=static together with runtime=link is not allowed" ; ECHO "error: such property combination is either impossible " ; ECHO "error: or too dangerious to be of any use" ; EXIT ; } に変更されています。EXIT ;をreturn <build>no ;にすれば旧来通りの動作(上記エラーメッセージが2度表示されますが)になりstatic-staticがビルドされます。
更新しました。今週は更新の殆どがSpiritとGraphでした。尚、svnは1.40に移行しました。 亦、今回からビルドログを添付する様に致しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: Fixing ADL problem in example karma/calc2_ast_vm.cpp Spirit: Boost.Endian will be used starting Boost V1.41 only Spirit: Fixed a problem in static lexer generator [Dynamic_bitset] Minor comment edit [Unorderwd] Cherrypick some unordered container changes from sandbox. Merge emplace support for sandbox - but without move support. [Graph_parallel] Fixed uninitialized variable warning [Regex] Add support for named and/or subexpressions with indexes > 99 in conditional format expressions. [Graph] Added boost:: qualifications to next, using patch from bug 3013, fixing #3013 Added a new labeled graph adaptor that maps vertices to user-defined key types. Added missing labeled graph file. [Pending] Added a specialization of retag_property_list that will correctly retag Added a metafunction to determine if a property is no_property. [Filesystem] Filesystem: fix #3008, improving namespace discipline to avoid naming conflicts with the C++0x std library. [Smart_ptr] Merged in smart_ptr changes from the sandbox/boost0x branch created for BoostCon '09. This adds move semantics to weak_ptr and intrusive_ptr. [Exeption] exception_ptr improvements, documentation update.
>>592 ありがとうございます。別にぱくったわけではなく、結果的に若干(気にしすぎなのかもしれませんが)似てしまいました。 あと、まだはっきりとライセンスを熟読したこと無いのですが Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Fusion] Fusion: added explicit disambiguation for fusion::at [Exeption] support for exception_ptr and nesting in boost::diagnostic_information [Dynamic_bitset] Merge dynamic bitset from release. [Lambda] Avoid using namespace std; to prevent ambiguity between boost and std components. Fixes #3025 [Algorithm] Qualify minmax with boost:: to avoid ambiguity with std::minmax. Fixes #3023 [Filesystem] Fix Filesystem #2925, copy_file atomiticity [Serialization] change number of bits from unsigned int to std::size_t [Spirit] Spirit: Added thread safety precaution [Regex] Qualify lower_bound with std:: to allow regex to work with Sun CC [Signals2] Added ability to create a shared_connection_block which is initially not blocking. [Graph] Added new Graphviz parser (recursive descent); does not support subgraphs in edges yet Fixing bug in labeled graph. [Mpl] Fixed a bogus preprocessor directive [Wave] Wave: fixed race condition
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: added tokenize_and_parse functions taking multiple attributes Spirit: added #pragma once to headers in include directory [Wave] Wave: Incorporated the changes from latest version of the flex_string class (fixes #2946) [Graph] Reduced graph sizes to decrease test run time; fixes #2308 Changed GraphML writer to escape strings; added test of this; fixes #2567 Added graph properties to adjacency_matrix; fixed constructors to match documentation; fixes #875 [Format] Fix order of initialization warning. Fixes #1699 [Type_traits] Test for: enum UIntEnum { value = UINT_MAX } is promoted to int [Lambda] Avoid ambiguities between boost::lambda::bind and std::bind with VC10. Fixes #3075 [Multi_index] fixed #3076 [Graph_parallel] Added "edges_are_sorted" to CSR test case [Signals2] Added a little test of a signal taking a reference argument. Use BOOST_NO_VARIADIC_TEMPLATES instead of BOOST_HAS_VARIADIC_TMPL, etc. [Proto] saner default evaluation behavior for member (object|function) pointers [Math] Added a couple of static assertions to prevent misuse. [Thread] Attempts to improve the boost::thread move semantics; separated tests to give clearer ID; incorporated patch to fix issue #2062 Changed thread_specific_ptr to use a map for faster lookup, and erase empty nodes
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Detail] detail/utf8_codecvt_facet.cpp: apply patch from ticket #2986 to quiet warnings when wchar_t is 16-bits. [Program_options] Qualify usage of 'exeception', now that boost also has such name [Signals2] Fixed bug in test. Fixing some reference-to-reference problems with some compilers. Added test for and fixed compile errors in signal::set_combiner() and combiner() methods. Refs #3125. [Random] Fix the distribution of uniform_int. [Property_map] Added shared_array_property_map [Graph] Changed new-style named parameter code for BGL to use shared_array_property_map, greatly simplifying interface Re-added the exterior property labeling framework under a different name [Date_time] Fixed a possible reading overflow in the var_string_to_int function. The std::tm instances are zero initialized before usage in to_tm functions. Related to #1859. [Spirit] build_tree now has less parameters and limit lines to 80 chars. Added a param to add() taking a rules object. Spirit: fixed problem in lexertl library [Expressive] prefer mpl::if_c over mpl::if_ for better compile times [Fusion] reduce number of template instantiations [Lambda] Add result_type to lambda::ret. Fixes #1222
/usr/include/boost/numeric/ublas/lu.hpp: In function ‘typename M::size_type boost::numeric::ublas::lu_factorize(M&, PM&) [with M = main()::dmatrix, PM = boost::numeric::ublas::permutation_matrix<unsigned int, boost::numeric::ublas::unbounded_array<unsigned int, std::allocator<unsigned int> > >]’:
test.cpp:33: instantiated from here /usr/include/boost/numeric/ublas/lu.hpp:137: error: no matching function for call to ‘project(boost::numeric::ublas::matrix_column<boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<unsigned int, int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > >&, boost::numeric::ublas::basic_range<unsigned int, int>)’
更新しました。bjamでのビルドに於いて、"--build_all"オプションが削除されました。 ttp://booster.x0.to/ 以下更新内容の一部 [Graph] Reverted old version of CSR graph for compatibility, with a #define to switch between the modes; cleaned up interface of new CSR graph; fixed tests and docs accordingly Changed to shared_array_property_map Sped up out_degree() and related functions for new interface [Python] Allow duplicate enum values. Fixes #2744 [Example] examples of external main usage typo [Regex] Simplify and fix PP logic. [Impl,Exeption,Mpl,Detail,Smart_ptr] avoid C style casts [Numeric] Fix a couple of typos in the ublas documentation. Fixes #3056, #3057. [Variant] Support BOOST_NO_TYPEID and BOOST_NO_IOSTREAM in Boost.Variant. Fixes #3051. [Spirit] Spirit: added placeholders for lexer semantic actions Spirit: Lot of work done in Lexer, fixed bugs, added support functions, refactored code [Proto] virtual_members get proto_arity_c [Serialization] Update include from boost/pfto.hpp to boost/serialization/pfto.hpp. Refs #3062. [Signals2] Added a copy of Thorsten Ottosen's auto_buffer into signals2/detail and used it to replace stack_allocator/stack_vector (which worked on popular compilers but were not strictly standards conforming).
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Graph] Changed function types to enums and removed include of iostream; refs #3134 Added constructors from multi-pass unsorted, filtered edge lists; refs #3134 Added extra named parameters for McGregor maximal common subgraph algorithm; contributed by Michael Hansen; refs #3134 [Functional] Try to avoid float to int warning when a float function doesn't exist. Refs #3171. [Spirit] Spirit: Added operator safe_bool to lexer token type Spirit: Simplified multi_pass iterator Spirit: Fixing bogus assertions Fixup to add() again for Hartmut. Spirit: Made dummy token constructor explicit [Random] Supress warnings from narrowing conversions. [Fusion] introduces unfused adapter fix trac issue #1608 [Proto] accomodate fusion:vector0 interface change [Graph_parallel] Fixed bugs in test case; refs #3134 Fixed warnings; refs #3134 [Python] Use appropriate default values for global and local dicts. [Impl] Fixed support for CRT hooks, it was not working properly with catch_system_errors=no
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Functional] Move includes to the header which they're used in. Get <boost/functional/hash/extensions.hpp> to work. [Graph] Added test case for McGregor algorithm from Michael; refs #3134 [Spirit] Spirit: adjusted for latest API change sin lexertl code Spirit repository: Fixed include path Made chr() public for use by parsertl. [Wave] Wave: adjustments for recent multi_pass changes [Interprocess] Boost 1.40 changes [Asio] Fix bug in hash resize. Ref #3095. Fix custom memory allocation for timers. Ref #3107. [Ptr_container] added support for statefull clone_allocators
更新しました。更新の大半がSpirit関連です。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: fixed broken BOOST_SPIRIT_ASSERT_MATCH Spirit: Added support for accessing the token value from a lexer semantic action Spirit: More work on lexer placeholder _value Spirit: Minor fix to simple_trace debug handler Spirit: added missing using directive for _pass [Graph] Added add_edges() function with edge properties; refs #3134 Made add_vertex and add_vertices work with new CSR interface; fixed add_edges stuff to work with edge properties; refs #3134 Removed x87 floating point hack as its in relax() now [Graph_parallel] switched to tagged ctor [Serialization] Fixed misc bugs Fix invalid pointer in unregister cast in void_cast.cpp - Again !! [Ptr_container] initial support for const elements in containers
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 Spirit: massive speedup fix for karma real generators (for built in floating point types) Spirit: adding flush_multi_pass to the repository Spirit: adding flush_multi_pass to the repository Spirit: fixing bogus include statement Spirit: integrated multi_pass iterator with expectation points and error handling [Serialization] Serialization: added missing header file #include Simplification for pointer serialization Correct error in exported pointers for polymorphic archives [Asio] Spirit: adding flush_multi_pass to the repository [Python] boost_python_unsigned_converter_fix_no_ctypes.patch by Anderson Lizardo Exclude default_toolset.py [Mpl] Fix default implementation of has_push_back and has_push_front [Regex] Added initial support for recursive expressions. Updated docs and tests accordingly. [Graph] Integrated new implementation of howard's cycle ratio algorithm. It's an optimization and cleanup from the older version. Note that this breaks source compatability in one instance.
------------test.cpp中身------------------ #include <boost/serialization/serialization.hpp> using namespace std;
struct MyData { int num; double pi;
private: // ここがシリアライズ処理の実装 friend class boost::serialization::access; template<class Archive> void serialize( Archive& ar, unsigned int ver ) { ar & num; ar & pi; } };
更新しました。 ここ暫くはSpiritの更新が中心の様です。 ttp://booster.x0.to/ 以下更新内容の一部 [Serialization] Fix void_cast unregister - again! [Spirit] Spirit: performance optimization of karma::output_iterator Spirit: Moved buffering from sequences to alternatives, which makes more sense... Spirit: improving overall performance Spirit: added karma::omit[] directive Spirit: Added output iterator composition Spirit: lists, kleene, plus, etc. now support any STL container (except map) Spirit: added qi::distinct to repository [Accumulators] eliminate shadow warnings and unused variable warnings, fixes #3262, fixed #3276, fixes #3031 [Units] Loosen requirements on signbit to 0/nonzero instead of 0/1 [Unordered] Adjust the unordered defaults so that emplace takes more parameters and less buckets are created by default. [Mpi] Made Boost.MPI work with the new pointer serialization
更新しました。1.40はSpiritばかり更新している印象が・・・。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: unified #pragma once directive in all header files Spirit: added rule constructors allowing to directly initialize rules: rule<> r = ... (yay!) Spirit: fixed return type for traits::deref(Iterator) Spirit: add qi>>confix to repository, added missing headers files, restructured repository include directories Spirit: added typedef for iterator_type to qi::rule and larma::rule Spirit: renamed traits::properties to traits::properties_of, added missing files [Graph] Moved included .cpp files to .ipp so that they will be installed Added missing property iterator update [Regex] Added support for (?(DEFINE) blocks and updated the docs accordingly. [Archive] Fix test_no_rtti test extended_type_info system not based on type_id Collection sizes are now seriallized as std::size_t [Serialization] add register archive [Type_traits] Fix is_base_of and is_base_and_derived to conform to C++0x. [Algorithm] Merged ADL protection patch from Neil Groves [Mpi] Added missing declspec
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: changed semantics of karma::char_(), karma::string(), karma::int_() et.al., karma::double_() et.al. Fixed attribute handling all over the place. Spirit: added Karma character class generators Spirit: added character range and character set generators Spirit: allow use of a derived context Spirit: add subject_type typedef to reference Spirit: added the Karma example classify_char Spirit: adding Qi subrules to repository Spirit: minor adjustment to output_iterator [Graph] Added grid graph from Michael Hansen Added extra space to work around buggy preprocessors [Interprocess] Fixed deadlock problem lseek is undefined with shared memory descriptors, use fstat instead. [Asio] Add missing returns for failure cases in write_some_at and read_some_at. [Mpi] Added missing includes to Boost.MPI archives [Units] Fix bug in the code for finding a basis for a set of base units.
How is the Boost license different from the GNU General Public License (GPL)? The Boost license permits the creation of derivative works for commercial or non-commercial use with no legal requirement to release your source code. Other differences include Boost not requiring reproduction of copyright messages for object code redistribution, and the fact that the Boost license is not "viral": if you distribute your own code along with some Boost code, the Boost license applies only to the Boost code (and modified versions thereof); you are free to license your own code under any terms you like. The GPL is also much longer, and thus may be harder to understand.
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: added gettimeofday based implementation for high_resolution_timer (thanks to Edward Grace) Spirit: adding Karma subrules to repository Spirit: adjustments to real_policies to accommodate more use cases Spirit: no longer tie subrules to a skipper/delimiter type Spirit: factored out floating point conversion into a separate header Spirit: make Karma tests more verbose on failure Spirit: make inherited attributes work with multiple subrules Applied more high_resolution_timer fixes provided by Edward Grace [Python] libs/python/src/exec.cpp: bug fixes libs/python/test/exec.cpp: new exercise_embedding_html() [Wave] Wave: preparing for Boost V1.41 [Graph] Fixed edge doubling for copying from an undirected graph to a CSR graph; fixes #3357 [Asio] Clarify that deadline_timer uses a UTC-based clock by default. [Mpl] Provide definitions for the dummy structs used by has_push_back_impl and has_push_front_impl so that they work with Fusion containers. Fixes #3337. [Serialization] Fix error in export functionality: [Archive] correct error in exception handling