lundi 7 janvier 2019

Does using const CString instead of CString alone as function parameter have any performance benefit?

I have a function that takes a CString as one of the parameters and I was looking through the code base and many places have

const CString& instead as a argument. So I want to know if there is a performance or behavior difference between using CString vs const CString& ?

Aucun commentaire:

Enregistrer un commentaire