Commit Graph

19 Commits

Author SHA1 Message Date
Peter Dimov
3c093a0b86 Disable world_checkpoint_all on lambdaless compilers 2017-11-22 05:46:13 +02:00
akumta
dfb1fc50c8 Update for ticket #11849 2016-01-05 09:51:59 -08: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
40ad7f5574 Trying another workaround for Sun...
[SVN r77922]
2012-04-11 20:23:19 +00:00
Lorenzo Caminiti
6a5128b29b Trying another fix for type-of emu on Sun (define=typeof=__typeof__).
[SVN r77892]
2012-04-10 19:26:09 +00:00
Lorenzo Caminiti
0d6fb27c13 Trying to workaround Typeof/Config failures on Sun.
[SVN r77864]
2012-04-09 21:01:32 +00:00
Lorenzo Caminiti
52de898cc8 Trying a different set of cxxflags to compile on Sun.
[SVN r77795]
2012-04-06 23:17:25 +00:00
Lorenzo Caminiti
5bca1df818 Trying compiling on Sun forcing BOOST_TYPEOF_EMULATION.
[SVN r77787]
2012-04-05 21:11:27 +00:00
Lorenzo Caminiti
72271da173 Added a temporary workaround the Boost.Config bug that causes Boost.Typeof to fail on Sun (Jamfile <define>__typeof__=__typeof__ so Boost.Config does not define __typeof__ to be typeof).
[SVN r77770]
2012-04-04 21:15:16 +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
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
37eb2eedd2 Added tests for ScopeExit and LocalFunction _ID macros.
[SVN r77407]
2012-03-19 18:09:12 +00:00
Lorenzo Caminiti
cfefb68957 Fixed a bug in capturing this_ that caused ScopeExit tests to fail with an internal error on old GCCs for templates (now this type is deduced within a struct like all other type captures to workaround this). Added a test for this case (..._this_tpl.cpp).
Fixed a bug that omitted `= {}` when this_ was the only ScopeExit captured variable (now generating `= {}` even when only this_ is captured).
Fixed LocalFunction to work with the above ScopeExit fixes (some of which required changes to ScopeExit protected macro interface).

[SVN r77389]
2012-03-18 21:53:39 +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
698e2abc9f Removed compilation of SCOPE_EXIT_ALL forcing no variadics because it always requires C++11.
[SVN r77044]
2012-02-16 21:35:12 +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
910681a539 Initial commit of ScopeExit.
[SVN r50620]
2009-01-16 00:02:37 +00:00