
30 Apr
2012
30 Apr
'12
10:51 p.m.
On 30/04/12 22:22, Mathias Gaunard wrote:
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.
By my reading, neither a shared_ptr deleter nor a container allocator is required to be DefaultConstructible in general. John Bytheway