Commit Graph

12 Commits

Author SHA1 Message Date
Marshall Clow
9a3563c142 Removed usage of deprecated macros in Boost.ScopeExit
[SVN r81573]
2012-11-26 20:23:34 +00:00
Lorenzo Caminiti
37c37c277b Forcing type-of emulation on Sun.
Trying to fix OverloadedFunction pp bug on Sun by removing SUB on iteration range (doing ADD on iteration index instead).

[SVN r77940]
2012-04-12 21:12:28 +00:00
Lorenzo Caminiti
281b4bd14a Compiling all ScopeExit and LocalFunction tests and examples on GCC with and without type-of emulation mode.
Added LocalFunction configuration macro to force use or not use of locals as template parameters.

[SVN r77765]
2012-04-04 19:35:34 +00:00
Lorenzo Caminiti
a2ba828277 Not added SCOPE_EXIT_ALL_TPL but SCOPE_EXIT_ALL can capture this_ only on C++11 compilers that allow typename in templates (not MVSC10) -- all SCOPE_EXTIA_ALL can always capture the object using this instead of this_ and SCOPE_EXIT can always capture this_ even when implemented using C++11 lambdas because there is already a SCOPE_EXIT_TPL.
[SVN r77748]
2012-04-03 20:16:03 +00:00
Lorenzo Caminiti
5273b2aae7 Using Boost.Detail/LightweightTest instead of Boost.Test for ScopeExit tests and examples (because Boost.Test fails to build on some regression test platforms and because this library tests are simple enough that they don't really require Boost.Test).
[SVN r77663]
2012-03-31 13:27:36 +00:00
Lorenzo Caminiti
729650add3 Added linking to Boost.Test in Boost.ScopeExit example Jamfile.
[SVN r77566]
2012-03-26 19:02:48 +00:00
Lorenzo Caminiti
d57263204c Added #error to tests and examples that require variadic macros and/or lambda functions for better error reporting.
Split all sequence syntax with forced no-variadic tests and examples (..._nova) in their own separate file (to avoid macro redefinition warning on compilers within variadic macros).
Updated docs.

[SVN r77546]
2012-03-25 20:05:38 +00:00
Lorenzo Caminiti
96863a6bc2 Fixed all sequence syntax tests and examples and always compiling them also forcing BOOST_NO_VARIADIC_MACROS.
[SVN r77085]
2012-02-20 21:47:47 +00:00
Lorenzo Caminiti
95385ba025 Not compiling tests that require variadic macros on compilers for with BOOST_NO_VARIADIC_MACROS is defined.
[SVN r77057]
2012-02-17 17:52:33 +00:00
Lorenzo Caminiti
09cc9ca357 Fixed a bug in BOOST_LOCAL_FUNCTION_DETAIL_PP_VOID_LIST: a typo VOId -> VOID.
Fixed a bug in scope_exit.hpp: An extra trailing \ in a macro definition (compiled only when BOOST_NO_VARIADIC_MACROS is defined).
Renamed LocalFunction and ScopeExit tests and examples from _err to _error.
Updated LocalFunction docs.

[SVN r77042]
2012-02-16 18:24:34 +00:00
Lorenzo Caminiti
fdc03a4eeb Updating ScopeExit docs, examples, and tests after supporting variadics (with full backward compatibility), this capture (this_), no capture (void), and C++11 extensions.
[SVN r77030]
2012-02-15 01:19:41 +00:00
Alexander Nasonov
7da6dbe0d0 ScopeExit documentation.
[SVN r50718]
2009-01-21 23:51:17 +00:00