Name: Anonymous 2008-10-11 23:49
Sup /prog/.
Learning templates. Devcpp throws this warning:
[Warning] passing `const circle<float>' as `this' argument of `void circle<T>::move(int) [with T = float]' discards qualifiers
Why does passing oneself as a self reference to a member function 'discard qualifiers'? What the hell are qualifiers, and why haven't we met before?
With Love,
Hapless Anon.
Learning templates. Devcpp throws this warning:
[Warning] passing `const circle<float>' as `this' argument of `void circle<T>::move(int) [with T = float]' discards qualifiers
Why does passing oneself as a self reference to a member function 'discard qualifiers'? What the hell are qualifiers, and why haven't we met before?
With Love,
Hapless Anon.