Framework for incremental calculation, and collection of statistical accumulators, from Eric Niebler.
Exception:
A library for transporting of arbitrary data in exception objects, and transporting of exceptions between threads, from Emil Dotchevski.
Units:
Zero-overhead dimensional analysis and unit/quantity manipulation and conversion, from Matthias Schabel and Steven Watanabe
Unordered:
Unordered associative containers, from Daniel James.
Updated Libraries
Asio:
o Added support for serial ports.
o Added support for UNIX domain sockets.
o Added support for raw sockets and ICMP.
o Added wrappers for POSIX stream-oriented file descriptors (excluding regular files).
o Added wrappers for Windows stream-oriented HANDLEs such as named pipes (requires HANDLEs that work with I/O completion ports).
o Added wrappers for Windows random-access HANDLEs such as files (requires HANDLEs that work with I/O completion ports).
o Added support for reactor-style operations (i.e. they report readiness but perform no I/O) using a new null_buffers type.
o Added an iterator type for bytewise traversal of buffer sequences.
o Added new read_until() and async_read_until() overloads that take a user-defined function object for locating message boundaries.
o Added an experimental two-lock queue (enabled by defining BOOST_ASIO_ENABLE_TWO_LOCK_QUEUE) that may provide better io_service scalability across many processors.
o Various fixes, performance improvements, and more complete coverage of the custom memory allocation support.
Assign:
list_of() (and its variants) now has overloaded comparison operators. This allows you to write test code such as BOOST_CHECK_EQUAL(my_container,list_of(2)(3)(4)(5));.
Foreach:
BOOST_FOREACH macro for easily iterating over the elements of a sequence, from Eric Niebler.
o New BOOST_REVERSE_FOREACH macro for iterating over a sequence in reverse.
Function:
o Improved allocator support, from Emil Dotchevski.
Hash:
Minor updates and fixes, for more info see the change log.
Interprocess:
o Added anonymous shared memory for UNIX systems.
o Fixed missing move semantics on managed memory classes.
o Added copy_on_write and open_read_only options for shared memory and mapped file managed classes.
o shared_ptr is movable and supports aliasing.
Intrusive:
o Added linear<> and cache_last<> options to singly linked lists.
o Added optimize_multikey<> option to unordered container hooks.
o Optimized unordered containers when store_hash option is used in the hook.
o Implementation changed to avoid explicit use of try-catch blocks and be compilable with exceptions disabled.
Math:
o Added new non-central Chi-Square, Beta, F and T distributions.
o Added Exponential Integral and Zeta special functions.
o Added Rounding, Truncation, and Unit-in-the-last-place functions.
o Added support for compile time powers of a runtime base.
o Added a few SSE2 based optimisations for the Lanczos approximations.
MPI:
o Added support for non-blocking operations in Python, from Andreas Klöckner.
o Added support for graph topologies.
Multi-index Containers:
Minor additions and maintenance fixes. Consult the library release notes for further information.
PtrContainer:
Support for a few more containers, and addition of insert iterators. For details see upgrading details.
Spirit:
Integrated the "Classic" Spirit V1.8.x code base with Spirit V2, "The New Generation". See Change Log.
Thread:
o New generic lock and try_lock functions for locking multiple mutexes at once.
o Rvalue reference support for move semantics where the compilers supports it.
o A few bugs fixed and missing functions added (including the serious win32 condition variable bug).
o scoped_try_lock types are now backwards-compatible with Boost 1.34.0 and previous releases.
o Support for passing function arguments to the thread function by supplying additional arguments to the thread constructor.
o Backwards-compatibility overloads added for timed_lock and timed_wait functions to allow use of xtime for timeouts.
Wave:
o Wave V2.0 is a new major release introducing some breaking API changes, preventing it to be used with Boost versions earlier than V1.36.0. Mainly, the API and hook interface have been streamlined for more consistency.
o Fixed a couple of bugs, improved regression test system to include testing of the preporcessing hooks interface (for details see: Changelog).
Xpressive:
Regular expressions that can be written as strings or as expression templates, and that can refer to each other and themselves recursively with the power of context-free grammars, from Eric Niebler.
o skip() for specifying which parts of the input sequence to ignore when matching it against a regex.
o regex_replace() accepts formatter objects and formatter expressions in addition to format strings.
o Range-based regex_replace() algorithm.
o Fix crash when semantic actions are placed in look-aheads, look-behinds or independent sub-expressions.
Кто нибудь пробовал собирать и использовать под x64?
у меня сборка вроде происходит нормально а вот при линковке говорит что либо под x86
собирал примерно такой комангдной строкой
bjam --with-program_options --build-type=complete --toolset=msvc-8.0_x86_64
или
bjam --with-program_options --build-type=complete --toolset=msvc-amd64
сборка происходила соответсвенно в ...Win64 Command Prompt
предыдущий boost_1_35_0 таких проблем не было
Re[2]: [ANN] вышел Boost 1.36.0
От:
Аноним
Дата:
14.08.08 14:22
Оценка:
Здравствуйте, ioni, Вы писали:
I>Кто нибудь пробовал собирать и использовать под x64?
amd64 environment, toolset msvc, прописан в user-config.jam:
Здравствуйте, Аноним, Вы писали:
А>Здравствуйте, ioni, Вы писали:
I>>Кто нибудь пробовал собирать и использовать под x64? А>amd64 environment, toolset msvc, прописан в user-config.jam: А>
Они обновили архив на сорсфорже и официально объявили о выходе новой версии.
Так что скачайте еще раз на всякий случай, возможно, ваши проблемы изчезнут.
Здравствуйте, Аноним, Вы писали:
А>Здравствуйте, ioni, Вы писали:
I>>Кто нибудь пробовал собирать и использовать под x64? А>amd64 environment, toolset msvc, прописан в user-config.jam: А>
Меня заинтересовало одно изменение smart_ptr, не упомянутое видимо потому что мелкое.
Добавлены make_shared/allocate_shared к shared_ptr.
Это позволяет использовать shared_ptr без явного new. Т.е. вместо shared_ptr<MyStruct> p(new MyStruct(p1, p2)); теперь можно shared_ptr<MyStruct> p = make_shared(p1, p2);
Реально это даёт то, что объект размещается в одном блоке памяти со счётчиком ссылок и удалителем, что может снизить использование динамической памяти.
Здравствуйте, Аноним, Вы писали:
AG>> f(boost::shared_ptr<std::string>(new std::string("hello")), AG>> boost::shared_ptr<std::string>(new std::string("world"))); // Wrong way.
А>А почему этот вариант — неправильный?
Стыдно не знать!
Могут быть утечки памяти, если между созданием одного string и его shared_ptr другой string бросит исключение.
# -------------------
# MSVC configuration.
# -------------------
# ....
# Configure specific msvc version (searched for in standard locations and PATH).
# using msvc : 8.0 ;
using msvc : 8.0~wm5 :
"C:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe" :
<compileflags>-D_CRT_SECURE_NO_WARNINGS
<compileflags>-D_WIN32_WCE=0x500
<compileflags>-DUNDER_CE
<compileflags>-DWINCE
<compileflags>-DARM
<compileflags>-D_ARM_
<compileflags>-D_LITTLE_ENDIAN
<compileflags>-DUNICODE
<compileflags>-DARMV4I
<compileflags>-D_UNICODE
<compileflags>-D"CalypsoSMDK2413Platform (ARMV4I)"
<compileflags>-DWINVER=0x0400
<compileflags>-DRETAIL_TARGET_PLATFORM
<compileflags>-D_SCL_SECURE_NO_DEPRECATE
<compileflags>-D_VC80_UPGRADE=0x0600
<compileflags>-DBOOST_ALL_NO_LIB
<linkflags>/subsystem:windowsce,5.00
<linkflags>/NODEFAULTLIB:oldnames.lib
<linkflags>/STACK:131070,4096
<linkflags>coredll.lib
<linkflags>corelibc.lib
<linkflags>ole32.lib
<linkflags>oleaut32.lib
<linkflags>uuid.lib
<linkflags>commctrl.lib
;
но ничего путного не выходит
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...patience...
...found 714 targets...
...updating 11 targets...
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\thread.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\exceptions.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\tss_dll.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\tss_pe.obj
msvc.link.dll bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll
'/DLL' is not recognized as an internal or external command,
operable program or batch file.
/DLL /subsystem:console /out:"bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll" /IMPLIB:"bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.lib" /subsystem:windowsce,5.00 /NODEFAULTLIB:oldnames.lib /STACK:131070,4096 coredll.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib @"bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
if exist "bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll.manifest" (
-manifest "bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll.manifest" "-outputresource:bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll;2"
)
...failed msvc.link.dll bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.dll bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\threading-multi\boost_thread-vc80-mt-1_36.lib...
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\thread.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\exceptions.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\tss_dll.obj
compile-c-c++ bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\tss_pe.obj
msvc.archive bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib
The filename, directory name, or volume label syntax is incorrect.
if exist "bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib" DEL "bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib"
/out:"bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib" @"bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib.rsp"
...failed msvc.archive bin.v2\libs\thread\build\msvc-8.0~wm5\release\architecture-arm\link-static\threading-multi\libboost_thread-vc80-mt-1_36.lib...
...failed updating 3 targets...
...updated 8 targets...
создаются файлы с расширением rsp и которые windows не знает как обрабатывать
кто нибудь может подсказать чего не хватает?
Здравствуйте, Roman Odaisky, Вы писали:
RO>Здравствуйте, Аноним, Вы писали:
AG>>> f(boost::shared_ptr<std::string>(new std::string("hello")), AG>>> boost::shared_ptr<std::string>(new std::string("world"))); // Wrong way.
А>>А почему этот вариант — неправильный?
RO>Стыдно не знать!
Не знать не стыдно! Стыдно не спрашивать если не знаешь. ИМХО.
строку "C:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe" :
мне кажется надо поменять на : (оставить пустой параметр)
Тогда оно само найдет vcvars32.bat и будет знать не только про компилятор, но и про другие тулзы.
Posted via RSDN NNTP Server 2.1 beta
Одним из 33 полных кавалеров ордена "За заслуги перед Отечеством" является Геннадий Хазанов.
Здравствуйте, dip_2000, Вы писали:
_>Здравствуйте, Roman Odaisky, Вы писали:
RO>>Здравствуйте, Аноним, Вы писали:
AG>>>> f(boost::shared_ptr<std::string>(new std::string("hello")), AG>>>> boost::shared_ptr<std::string>(new std::string("world"))); // Wrong way.
А>>>А почему этот вариант — неправильный?
RO>>Стыдно не знать!
_>Не знать не стыдно! Стыдно не спрашивать если не знаешь. ИМХО.
Всё так, но я думаю, Роман имел в виду, что стыдно все еще не прочитать Саттера и Майерса (которые были изданы аж 10 дет назад).
Такое простительно студенту, но не профессиональному программисту.
Здравствуйте, jazzer, Вы писали:
J>Всё так, но я думаю, Роман имел в виду, что стыдно все еще не прочитать Саттера и Майерса (которые были изданы аж 10 дет назад). J>Такое простительно студенту, но не профессиональному программисту.
Просто согласитесь, нет никаких свидетельств, что этот вопрос задавался человеком с большим опытом Вдруг там вполне нормальный, жаждущий знаний студент ?
S>строку "C:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe" : S>мне кажется надо поменять на : (оставить пустой параметр) S>Тогда оно само найдет vcvars32.bat и будет знать не только про компилятор, но и про другие тулзы.
к сожалению не помогло
а сборку я запускал с уже установленными переменными окружения
(из Visual Studio 2005 Command Prompt)