Hi,
I'm a c++ newbie, in a BinarySearchTre e data structure I found this definition:
void insert (const Comparable& x, BinaryNode *& t);
void insert (Comparable && x, BinaryNode *& t);
so, what does "&&" mean?
it means "const &"
Thanks
CCCYYYY
I'm a c++ newbie, in a BinarySearchTre e data structure I found this definition:
void insert (const Comparable& x, BinaryNode *& t);
void insert (Comparable && x, BinaryNode *& t);
so, what does "&&" mean?
it means "const &"
Thanks
CCCYYYY
Comment