with rvalue given in the argument ?
                  
                  
                  i mean it will show the effect const reference impact
                  
                  
                
You could create a method that calls the copy constructor inside and then do whatever you want in there with whatever arguments
whould u plz show me the example of that ?
Just tried to do that for a while and I failed. Haven't done C++ in years and year. Thought that would be easy but it isn't haha. Sorry!
Обсуждают сегодня