Comment Comment by pjc50 Yuck. The type itself should be a different type from instances of the type, and therefore that error should be "function not found".For the first one, constructors should generally do required init, although there are circumstances where that's very hard. Hence the builder pattern. parent pjc50 2 years ago
For the first one, constructors should generally do required init, although there are circumstances where that's very hard. Hence the builder pattern.