News for hackers. Stuff that matters.
Re:C++ Papercuts by MereInterest on Monday August 28, 2023 @01:03PM (#37297213)
Yeah, I’d beg to differ there. Non-const references have all the non-nullable benefits over pointer-to-non-const as const references have over pointer-to-const. While I’d prefer a call-site syntax difference similar to what Rust has, the non-null ability of references is well worth it.

There are no comments on this comment yet.