#need help with lvalue references

6 messages · Page 1 of 1 (latest)

supple dragon
#

need help with references

supple dragon
#

need help with lvalue references

unique berry
#

Your second example doesn’t have real use

#

Sometimes developers make things complicated to look cool

#

Admire simplicity

#

That being said the & operator means different things in different places, int& as a function param takes an integer but will modify the value you give it