On Sun, 09 Oct 2011 04:56:45 -0400, Mariusz Gliwiński
wrote:
Dnia niedziela, 9 października 2011 00:13:29 Jonathan M Davis pisze:
Part of your problem may be that D doesn't use copy constructors. Rather, it
has postblit constructors:
Yes, i know about naming difference and behavioral differen
Dnia niedziela, 9 października 2011 00:13:29 Jonathan M Davis pisze:
> Part of your problem may be that D doesn't use copy constructors. Rather, it
> has postblit constructors:
Yes, i know about naming difference and behavioral difference.
It's not a problem for me anymore, this post is for people
Part of your problem may be that D doesn't use copy constructors. Rather, it
has postblit constructors:
http://d-programming-language.org/struct.html#StructPostblit
- Jonathan M Davis
Firstly, i don't know if i'm using latest version (this is from dmd 2.055).
Ok now, generally - i love it, BUT today it tortured me :(.
Firstly, it should be checked if argument struct has copy constructor (or how
i should name it):
import std.variant;
struct S {
ubyte b;
ubyte