You're right and I usually detect it but that darn const-on-the-left-at-beggining-of-statements exception confused me! >:(
const T& operator*() const;
I always put const on the right.
I'm...
Type: Posts; User: DynV
You're right and I usually detect it but that darn const-on-the-left-at-beggining-of-statements exception confused me! >:(
const T& operator*() const;
I always put const on the right.
I'm...
From what I gather, functions return temporaries which don't need to be const (I assume making it const would use more processing) except for cases where returns are pointers or references.
I have...