From: John C. Femiani (john.femiani_at_[hidden])
Date: 2008-07-21 03:47:40
Barco You wrote:
> In Adobe example
> the function: void reverse_and_print(any_iterator_to_int first,
> any_iterator_to_int last) is not virtual funciton!
The task at hand called for "fixed signature".
Since the types are concrete whats keeping you from using them in a
>>> The task at hand: pass a list of objects through a function call with
>>> fixed signature (such as a virtual function) without exposing the actual
>>> container type used.
BTW: see http://www.artima.com/cppsource/type_erasure.html
Boost 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