Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Templates

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.

Name: Anonymous 2008-10-12 0:43

>>5
isEqual
Bjarne fucking gave you operator== you fucking nitwit, use it. sepples is shit, but at least it isn't Java.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List