I want to make a struct that defines a constructor:

struct Point
{
        this()
        {
        }
}


However I get a compiler error:
"constructor main.Point.this default constructor for structs only allowed with @disable and no body"

I wrote a @disable next to it but same error. I don't understand what the "no body" part means.

Reply via email to