Commit Graph

18 Commits

Author SHA1 Message Date
Lorenzo Caminiti
a75aececf3 Fixed a bug with expansion of LocalFunction Id.
[SVN r77965]
2012-04-13 23:14:48 +00:00
Lorenzo Caminiti
6722dd27d3 Updated docs.
[SVN r77943]
2012-04-13 00:26:10 +00:00
Lorenzo Caminiti
802dc66abb Implemented a trick for NAME not to use BOOST_TYPEOF without requiring to repeat the function type (doing a typedef on the local class so to access the functor type in NAME).
[SVN r77917]
2012-04-11 17:14:00 +00:00
Lorenzo Caminiti
acf4b69dd7 Upd docs and added ability to specify function type and default count to NAME so to not use Boost.Typeof at all.
[SVN r77907]
2012-04-11 05:49:18 +00:00
Lorenzo Caminiti
fcd46e7fd7 Upd docs and added ability to pass function type and default count to NAME so to not use Boost.Typeof at all.
[SVN r77906]
2012-04-11 05:47:37 +00:00
Lorenzo Caminiti
3203e349ad Wrapped a metafunction call into a local struct to try to workaround a problem with add_template on the intel compiler.
[SVN r77820]
2012-04-07 18:45:13 +00:00
Lorenzo Caminiti
b2f35a2caf Removed T const[*/&] function template specializations that caused ambiguity on VACPP.
[SVN r77816]
2012-04-07 15:53:27 +00:00
Lorenzo Caminiti
ac2a202db2 Checked all ScopeExit and LocalFunction tests and examples compile in both native and emulation type-of mode.
[SVN r77768]
2012-04-04 20:19:39 +00:00
Lorenzo Caminiti
633a774276 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
3b8fe255c4 Fixing LocalFunction to work in type-of emulation mode.
[SVN r77755]
2012-04-04 15:35:30 +00:00
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