Search:

Type: Posts; User: DynV

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,304

    You're right and I usually detect it but that...

    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...
  2. Replies
    7
    Views
    3,304

    const return types, or lack thereof

    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...
Results 1 to 2 of 2