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 1:32

>>8
Fuck you, I was actually confused for a second there.

>>9
Shit assignment. You should kick your TA/Professor in the balls for being a fucking idiot. It will mostly likely be the first of many such kicks.

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