C++ Logo

std-proposals

Advanced search

Re: BytesReadable & BytesWritable Traits

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 08 Dec 2019 22:05:59 -0800
On Sunday, 8 December 2019 19:16:00 PST connor horman via Std-Proposals wrote:
> Even if reloaded in the same process, that seems to me like it would
> produce an invalid pointer anyways.

Not necessarily, it could still be valid.

My point is that you're restricting them without good reason. You'll simply
encourage casting to uintptr_t and back.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-12-09 00:08:33