
10 Jun
2005
10 Jun
'05
12:36 p.m.
Tobias Schwinger wrote:
Boost.Function uses a non-templated parentheses operator therefore you can apply a typeof operator (or Boost.Typeof) on a pointer to its operator() function (you can do this for any functor with a non-template operator()).
A similar technique is used in the "interpreter" example (see announcement about the update for links), except that no typeof operator is required, because this logic resides in the context of a function template (and template argument deduction can be used).