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.
[ Parent
| on HN ]