Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63946 - sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch
From: cppljevans_at_[hidden]
Date: 2010-07-13 05:01:30


Author: cppljevans
Date: 2010-07-13 05:01:26 EDT (Tue, 13 Jul 2010)
New Revision: 63946
URL: http://svn.boost.org/trac/boost/changeset/63946

Log:
add comment about need for 'using super_type::operator();'
Text files modified:
   sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp | 10 ++++++++--
   1 files changed, 8 insertions(+), 2 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 05:01:26 EDT (Tue, 13 Jul 2010)
@@ -116,11 +116,17 @@
           #else
             //This branch of #if...#endif may cause compile errors
             //about "no match for for call to 'SomeFunCall'"
- //where SomdFunCall is some function name and
+ //where SomeFunCall is some function name and
             //parameter type list.
             //
             //To avoid these errors, derive Functor from
- //functor_bad_args.
+ //functor_bad_args *and* put a using declaration
+ //in functor:
+ //
+ // using super_type::operator();
+ //
+ //where super_type is typedef'ed to the functor_bad_args
+ //super type of Functor.
             //
             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