News for hackers. Stuff that matters.
Re:Learning C3 by Maxatar on Thursday May 29, 2025 @11:19PM (#44132504)
I don't think that's much of an issue. If you need deferred initialization then stick to a pointer and then once the pointer is initialized shadow it with a reference.

    int* pre_foo = null;
    ... initialize pre_foo ...
    int& foo = *pre_foo;

There are no comments on this comment yet.