|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63945 - sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch
From: cppljevans_at_[hidden]
Date: 2010-07-13 04:44:06
Author: cppljevans
Date: 2010-07-13 04:44:06 EDT (Tue, 13 Jul 2010)
New Revision: 63945
URL: http://svn.boost.org/trac/boost/changeset/63945
Log:
correct comment in #else branch of apply_unpack
Text files modified:
sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp
==============================================================================
--- sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp (original)
+++ sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp 2010-07-13 04:44:06 EDT (Tue, 13 Jul 2010)
@@ -114,10 +114,14 @@
apply_ftor_check_args( a_functor
, a_args.template project<Indices>()...);
#else
- //This branch of #if...#endif can cause compile errors
+ //This branch of #if...#endif may cause compile errors
//about "no match for for call to 'SomeFunCall'"
//where SomdFunCall is some function name and
//parameter type list.
+ //
+ //To avoid these errors, derive Functor from
+ //functor_bad_args.
+ //
a_functor( a_args.template project<Indices>()...);
#endif
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk