inout constructor?

bearophile bearophileHUGS at lycos.com
Wed Jan 25 20:08:01 PST 2012


In this bug report I've seen an inout struct constructor:
http://d.puremagic.com/issues/show_bug.cgi?id=7369


struct TestStruct {
    this(int data) inout {}
}

Do you know what's the usage of this?

Bye and thank you,
bearophile


More information about the Digitalmars-d-learn mailing list