|
Boost : |
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2007-10-18 18:41:02
David Rodríguez Ibeas wrote:
> all
> classes returned by get_class<n> match an interface defining virtual void
> foo( T const& ) for each possible T
I'm fuzzy on the past of this thread, but I should point out that member
templates can't be virtual. The base class would have to change in
response to a template instantiation on the derived class.
So if "each possible T" means "each from the set you need", that's fine.
But not a template.
Sebastian Redl
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk