News for hackers. Stuff that matters.
Re:Defer Available in GCC and Clang by oasisaimlessly on Friday February 20, 2026 @10:31AM (#47089259)
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.
Re:Defer Available in GCC and Clang by mort96 on Friday February 20, 2026 @11:01AM (#47089723)
Yea no. I'm not gonna do that.