June 13, 2018 [Issue 15329] __traits(isPOD, S) incorrectly returns true for structs with disabled S.init | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15329 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- I assume that instead of S7 you were referring to S. Why should it not compile? From the glossary [1] : "POD (Plain Old Data) Refers to a struct that contains no hidden members, does not have virtual functions, does not inherit, has no destructor, and can be initialized and copied via simple bit copies." If I'm not missing anything, S complies with all of the above. [1] https://dlang.org/glossary.html#pod -- | ||||
October 13, 2022 [Issue 15329] __traits(isPOD, S) incorrectly returns true for structs with disabled S.init | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15329 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- Closing as per previous comment. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply