Original Post
🔒 Locked
reference to a reference
Advertisement
Quote:Because it would be identical to a single reference.
Original post by TEUTON
2 questions:
1. Why reference to a refrence is not allowed
Quote:Because initalizing a reference with a reference causes the new reference to refer to the old reference's target.
2. I tried writing this code(refrence to a refrence), which compiles in VC6.0 successfully.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement