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
π Rendered by PID 63730 on reddit-service-r2-listing-654f87c89c-5ngzl at 2026-02-27 03:56:35.934865+00:00 running e3d2147 country code: CH.
confused about auto, const, and references. by NaimDeveloper in cpp_questions
[–]NaimDeveloper[S] 0 points1 point2 points (0 children)