Boost logo

Boost :

From: Dan (dan_at_[hidden])
Date: 2004-07-14 00:28:56

It occurs to me that it should be possible to manage an mpl::vector of
types which are actually functors.


One could add functors to this list with compile time complexity and
likewise call all the functors in the list with compile time complexity.


Requiring none of the function pointers, class templates, or virtual
functions typically used for this purpose.


I think it should be easy to create the vector, but how does one
construct an object of each type and call operator() on it?




"The only impossible task is the task you never start"


Boost list run by bdawes at, gregod at, cpdaniel at, john at