Subject: Re: [boost] storing intrusive_ptr in atomic?!
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2013-10-25 05:22:21
2013/10/25 Giovanni Piero Deretta <gpderetta_at_[hidden]>
> Intrusive_ptr doesn't have tivial copy constructor (how could it have? it
> needs to update the counter), ergo is not trivially copyable and the above
> two point do not apply.
but the standard says 'trivially copyable' not 'trivial copy constructor' -
the code examples by the standard document gives correct results for
intrusive_ptr (because all criteria
does this mean the standard document contains a false wording/examples?