Commit Graph

8 Commits

Author SHA1 Message Date
Lorenzo Caminiti
d89c4fbde0 Fixed a bug in deducing this type on MSVC when using lambda implementation for SCOPE_EXIT_ALL (I was missing a typename).
[SVN r77488]
2012-03-22 21:39:49 +00:00
Lorenzo Caminiti
c02c75f968 LocalFunction now using newly added Boost.Config's BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS.
[SVN r77485]
2012-03-22 21:03:40 +00:00
Lorenzo Caminiti
96d30479a9 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
5e31f8f595 Added _ID macro to LocalFunction and corrected code doc typo in ScopeExit.
[SVN r77406]
2012-03-19 17:09:34 +00:00
Lorenzo Caminiti
c9075746a6 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
75a87ccd1b Added local_function::aux::member specializations for outer const qualifiers (T * const and T const* const).
Added dummy func (never called) to suppress an unused variable warning for nobind.

[SVN r77334]
2012-03-14 17:47:21 +00:00
Lorenzo Caminiti
259533b62b 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
fece1283e9 Added LocalFunction and Utility/IdentityType source files.
[SVN r77024]
2012-02-15 00:41:33 +00:00