hasElaborateCopyConstructor bug?
SrMordred
patric.dexheimer at gmail.com
Sat Jun 1 23:29:08 UTC 2019
On Saturday, 1 June 2019 at 21:39:33 UTC, SImen Kjærås wrote:
> On Saturday, 1 June 2019 at 21:05:32 UTC, SrMordred wrote:
> hasElaborateCopyConstructor checks if the type defines a
> postblit[0].
Yes, I know this.
But since dmd 2.086 we have copy ctors:
https://dlang.org/changelog/2.086.0.html#copy_constructor
And its seem logical that if I want a trait that check if copy
ctors exists I will use this name 'hasElaborateCopyConstructor'
So it looks like a naming issue for me.
Unless postblits will be eventually replaced by copy ctors.
More information about the Digitalmars-d-learn
mailing list