why const references are the exception
why const references are the exception that they allow apparent indirect access to a literal?
Jan 22, 2021 at 4:48pm UTC
Why would I use a reference that refers to a constant literal?
what I understood that this is used to extend the lifetime of the literal, why would I extend it's lifetime?
Last edited on
Jan 22, 2021 at 4:53pm UTC
Registered users can post here.
Sign in or register
General C++ Programming
© cplusplus.com, 2000-2020 - All rights reserved -
Spotted an error? contact us