Original Post
I was wondering if there is a performance difference between using a const pointer or a reference as an argument of a function. Does anybody know? (i know there are aesthetic and other reasons to use references but my question concerns only potential performance differences)
e.g.:
do_something(myclass * const)
or
do_something(myclass &)