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:07

>>1
sepples
Now you have two problems.

Also we're not going to help you unless you post some fucking code which produces the goddamn error, because no one fucking uses that pile of shit min-gw.

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