[OpenWalnut-Dev] MixinVector
Mathias Goldau
math at informatik.uni-leipzig.de
Mon Jan 25 11:07:20 CET 2010
Hi,
as the question arose about why not derive directly from std::vector you find
more information here:
http://stackoverflow.com/questions/922248/is-there-any-real-risk-to-deriving-from-the-c-stl-containers
the solution is this:
http://en.wikipedia.org/wiki/Mixin
and a implementation of this is found here:
#include <osg/MixinVector>
best regards
mathias
--
Institut für Informatik
Universität Leipzig
Johannisgasse 26, 04103 Leipzig
Phone: +493419732283
More information about the OpenWalnut-Dev
mailing list