Changeset 63946


Ignore:
Timestamp:
Jul 13, 2010, 9:01:26 AM (8 years ago)
Author:
cppljevans
Message:

add comment about need for 'using super_type::operator();'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/apply_unpack.hpp

    r63945 r63946  
    117117            //This branch of #if...#endif may cause compile errors
    118118            //about "no match for for call to 'SomeFunCall'"
    119             //where SomdFunCall is some function name and
     119            //where SomeFunCall is some function name and
    120120            //parameter type list.
    121121            //
    122122            //To avoid these errors, derive Functor from
    123             //functor_bad_args.
     123            //functor_bad_args *and* put a using declaration
     124            //in functor:
     125            //
     126            //   using super_type::operator();
     127            //
     128            //where super_type is typedef'ed to the functor_bad_args
     129            //super type of Functor.
    124130            //
    125131            a_functor( a_args.template project<Indices>()...);
Note: See TracChangeset for help on using the changeset viewer.