Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-10-27 09:15:16


Oleg Smolsky <oleg.smolsky <at> pacific-simulators.co.nz> writes:

> IE are the pointers
> copied or are the objects they point to cloned? This kinda makes
> sense.

Thanks.

> > boost::ptr_map<std::string, boost::ptr_vector<Simple> > map;
> So, I'm guessing the second parameter is stored by pointer in this
> case? And the key is handled "by value", right?

Right.

HTH

Thorsten


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