Commit Graph

37 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
Marshall Clow
9a3563c142 Removed usage of deprecated macros in Boost.ScopeExit
[SVN r81573]
2012-11-26 20:23:34 +00:00
Lorenzo Caminiti
61614a7e41 Using lower case section IDs. Renamed TPL_ID to ID_TPL.
[SVN r78228]
2012-04-28 01:55:09 +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
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
fc27afc2dd Fixed a bug in same_line test and upd docs.
[SVN r77886]
2012-04-10 15:22:06 +00:00
Lorenzo Caminiti
98acdf20ed Removed tpl param from same_line test.
[SVN r77883]
2012-04-10 12:25:53 +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
2f41350375 Final (?) updated of ScopeExit docs.
[SVN r77861]
2012-04-09 20:32:17 +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
556b4cf91a Marked some expected failures for both ScopeExit and Functional/OverloadedFunction on Sun. Removed some unecessary cout from a ScopeExit regression test.
[SVN r77724]
2012-04-02 21:04:59 +00:00
Lorenzo Caminiti
fd59638b93 Fixed a spelling bug in a ScopeExit regression test (executed only in type-of emulation mode).
[SVN r77690]
2012-04-01 18:55:40 +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
16c02a6f33 Fixed an include (wrong file).
[SVN r77548]
2012-03-25 21:03:05 +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
9e61d72c30 Fixed a typo that caused a test to fail on PGI with type-of emu (peron instead of person).
[SVN r77520]
2012-03-24 22:11:10 +00:00
Lorenzo Caminiti
e1cd1d21e7 Split Utility/IdentityType and Functional/OverloadedFunction tests into smaller tests.
Updated docs for ScopeExit, LocalFunction, Utility/IdentityType, and Functional/OverloadedFunction.

[SVN r77484]
2012-03-22 20:54:20 +00:00
Lorenzo Caminiti
e102c9397c Renamed cpp11 to cxx11 in LocalFunction.
Added _ID to ScopeExit and LocalFunction.

[SVN r77425]
2012-03-20 02:14:14 +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
c073d753cc Updated ScopeExit "world" tests making person a struct instead of a class.
Added a code comment to Utility/IdentityType tmp_assert test.

[SVN r77071]
2012-02-18 19:29:35 +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
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
1707a6ea06 Use C++-0X lambdas when they are available.
[SVN r75550]
2011-11-19 12:21:36 +00:00
Alexander Nasonov
30711a780d Test modification of a variable passed to a block by value.
[SVN r75549]
2011-11-19 11:53:58 +00:00
Alexander Nasonov
945d709e17 Add missing copyright&license.
[SVN r50793]
2009-01-26 20:13:37 +00:00
Alexander Nasonov
e33c1d89ae Pass-by-value tests.
[SVN r50710]
2009-01-21 20:03:11 +00:00
Alexander Nasonov
7c0cd745d0 Drop support of function-try-block in ScopeExit
[SVN r50707]
2009-01-21 19:35:02 +00:00
Alexander Nasonov
910681a539 Initial commit of ScopeExit.
[SVN r50620]
2009-01-16 00:02:37 +00:00