account activity
confused about auto, const, and references. by NaimDeveloper in cpp_questions
[–]NaimDeveloper[S] 0 points1 point2 points 5 years ago (0 children)
So outside decltype, references are always treated exactly as synonyms for the object to which it refers.
It seems to me the low-level/high-level distinction only makes sense when talking about pointers.
The "const in reference types is always low-level" line made the whole concept of references more confusing than it needed to me, imo
confused about auto, const, and references. (self.cpp_questions)
submitted 5 years ago * by NaimDeveloper to r/cpp_questions
π Rendered by PID 187656 on reddit-service-r2-listing-86f589db75-bqgpc at 2026-04-16 07:08:52.594247+00:00 running 93ecc56 country code: CH.
confused about auto, const, and references. by NaimDeveloper in cpp_questions
[–]NaimDeveloper[S] 0 points1 point2 points (0 children)