Boost logo

Boost :

Subject: Re: [boost] [cpo-proposal] presentation of the idea
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2013-08-23 03:41:44


On 23-08-2013 04:54, Ben Pope wrote:

> But how can you be sure an arbitrary non-POD object in the vector
> doesn't hold a pointer to itself?
>
> Also, this problem has just been found in Folly fbvector:
> https://github.com/facebook/folly/issues/35

WE can't, hence we need to call copy/move constructors via the virtual
functions.

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk