__traits isCopyable vs isPOD

Per Nordlöw per.nordlow at gmail.com
Tue Nov 29 19:17:25 UTC 2022


On Tuesday, 29 November 2022 at 00:50:54 UTC, Paul Backus wrote:
> If your goal is to avoid calling the copy constructor (and, I 
> assume, to avoid unnecessary instantiations of `move`), then 
> yeah, `isPOD` is the one you want.

Thanks.


More information about the Digitalmars-d-learn mailing list