class T { private this() { } }
i can still instantiate the class like this: auto x = new T();and there is no error thrown. Am i right in thinking the privacy keyword is ignored?
class T { private this() { } }
i can still instantiate the class like this: auto x = new T();and there is no error thrown. Am i right in thinking the privacy keyword is ignored?