[Clam-devel] const patch

David García Garzón dgarcia at iua.upf.edu
Tue Jun 9 05:48:50 PDT 2009


Dirk, be carefull: 'const T &' and 'T const &' are different animals. The 
former means that the referenced cannot be changed while the later means the 
reference can not be changed, which, against what happens with pointers, for 
references is always the case, so it is like not puting any const at all.

A Dimarts, 9 de juny de 2009 11:43:04, dirk.griffioen va escriure:
> Hi,
>
> Attached a patch to add references and const refs to avoid copying.
>
> Dirk

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot edu
http://www.iua.upf.edu/~dgarcia





More information about the clam-devel mailing list