Hi.
I have this structure:

struct MyStruct {
        enum MyStruct VALUE = MyStruct(5f);

        static immutable MyStruct value = MyStruct(5f);


        float data;

        this(float v) { data = v; }
}

What's the difference between MyStruct.VALUE and MyStruct.value? How should I decide what to use?

Reply via email to