On 02/13/2016 11:55 AM, Timon Gehr wrote:
If you alias the same data as both shared and unshared, the shared
version can be sent to another thread which will then modify it,
violating the guarantees on the unshared reference.

Oh, I understand. So you're thinking of someone taking the address of allocator.prefix(block) and sharing it across threads? -- Andrei

Reply via email to