M
Michael
Hi, is there any time when passing by value would be better than passing by
const-reference? Surely if the recieving function wanted to modify the
passed in parametre for its own work, it would just create a copy of the
reference and would lose no performance but it would mean the .h file
wouldn't need to know about cl class to compile reducing header
dependances??
Mike
const-reference? Surely if the recieving function wanted to modify the
passed in parametre for its own work, it would just create a copy of the
reference and would lose no performance but it would mean the .h file
wouldn't need to know about cl class to compile reducing header
dependances??
Mike