Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-06-10 07:36:32


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).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk