a very general c++ question# JobHunting - 待字闺中
c*o
1 楼
Can any Daniu explain when to use "const & " in c++ generally, what are the
pros and cons? I got screwed up with it quite often, really frustrated.
What is the point for the return value of a function to be const &?
Thank You!
pros and cons? I got screwed up with it quite often, really frustrated.
What is the point for the return value of a function to be const &?
Thank You!