std.variant, elaborate copying and GC

Yuriy yuriy.glukhov at gmail.com
Tue Apr 8 12:59:33 PDT 2014


Ah, now that's clear. Ok, what about the other question? E.g. I'm 
trying to implement a bridge to C lib with reference counting. My 
"references" are structs. Ctor retains, dtor releases, assign 
does both. Looks like my struct can not be used with variants. 
Should i submit a pull to fix that?


More information about the Digitalmars-d-learn mailing list