Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-18 09:04:36

Martin Bonner <martin.bonner_at_[hidden]> writes:

> I agree. I think that clone_ptr is designed for a rather small niche, and I
> can't see myself ever needing it ... but that doesn't mean it couldn't be
> useful to somebody.

The general idea of a clone_ptr fills a very important niche, where
the compiler firewall idiom is used to limit header dependencies for
copy constructible objects. Apparently that's very common -- but I
have never needed it ;-)

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at