Boost logo

Boost Users :

Subject: [Boost-users] how to make a vector to derivedClass::create() methods
From: Victor.Whiskey.Yankee (victor.whiskey.yankee_at_[hidden])
Date: 2009-01-22 10:06:49


Hi,

I wish to make a std::vector to some create() methods from several
different derived classes (same ABC). I could
instead use the ctors if necessary.

lambda::bind<> and lambda::constructor<> maybe?, but I fail getting syntax.

Thank you,
Vic


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net