[Boost-users] How to convert a vector of base classes to template based code?