Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-30 17:22:41


On 30/04/12 22:47, Nathan Ridge wrote:

> But even if there was a way to tell, how would you use an object like
> that without aggregating it (and thus having it take up space) or
> inheriting from it (which is not allowed)?

You would construct it whenever you need it.