
23 Aug
2013
23 Aug
'13
7:41 a.m.
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