Boost logo

Boost Users :

Subject: Re: [Boost-users] how to make a vector to derivedClass::create() methods
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-22 15:02:31


AMDG

Victor.Whiskey.Yankee wrote:
> 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.
>

I'm not really sure what you're trying to do.

What exactly is the std::vector supposed to contain?
std::vector<???>

In Christ,
Steven Watanabe


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