top | item 47089259

(no title)

oasisaimlessly | 10 days ago

It's possible to fix this in application code with a Primitive<T> or NoDefault<T> wrapper that acts like a T, except doesn't have a default constructor. Use Primitive<int> wherever you'd use int that it matters (e.g. struct fields), and leaving it uninitialized will be a compiler error.

discuss

order

mort96|10 days ago

Yea no. I'm not gonna do that.