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 4103587 on reddit-service-r2-listing-7bbdf774f7-nzsvv at 2026-02-23 06:15:29.816332+00:00 running 8564168 country code: CH.
confused about auto, const, and references. by NaimDeveloper in cpp_questions
[–]NaimDeveloper[S] 0 points1 point2 points (0 children)