|
![](/i/fill.gif) |
On 22/05/2013 08:45 PM, Warp wrote:
> Orchid Win7 v1<voi### [at] dev null> wrote:
>> However, I can't seem to figure out what to write in the constructor.
>> I've got a field that looks like
>
>> boost::shared_ptr<std::vector<Foo>> _foo;
>
>> What do I need to do to initialise this correctly?
>
> What do you mean by "field"? Your question is not clear enough.
I mean something like
class Foobar
{
private:
boost::shared_ptr<std::vector<Foo>> foo;
public:
Foobar()
}
> (And btw, don't start names with an underscore. Those are reserved for
> the compiler.)
Hoooookay... In that case, there's about 200 lines in the existing
codebase that need to be changed. o_O
Post a reply to this message
|
![](/i/fill.gif) |