Coding Global Background
Coding Global

need help with references

Archived 14 days ago
❤️1
7 messages
5 members
Created 3 months ago
Updated 14 days ago
Open in Discord
T
Tense

Playing Custom Status

Verified
int var{};
int& ref1{ var };  // an lvalue reference bound to var
int& ref2{ ref1 }; // an lvalue reference bound to var


just started learning references. why is the above allowed, i thought u can't reference a reference
UnoRouter AI API

Replies (5)