cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
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
abdoali5672
(1)
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
Topic archived. No new replies allowed.