Boost logo

Boost Users :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-11-26 04:54:52


chun ping wang skrev:
> yeah I notice int is copyable.. is their a easy way to get around this..
> like i still want to use int type. Do i just pass int* in their ...

return std::auto_ptr<MyContainer> by calling obj.clone()

-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