baffling compiler error

Started by
12 comments, last by billybob 21 years, 2 months ago
The error was the reason for my first hasty reply, and the AP's suggestion:

error C2819: type 'XVector' does not have an overloaded member 'operator ->'

that's implying you're using a -> on a XVector instance, not a pointer to an XVector. So, somewhere, you have a dereferencing going on that you're not intending.

(I've all but given up trying to read your code Try using [ source ] and [ /source ] tags next time...)

edit: hey, no fair editting while I'm posting. heh.

[edited by - scaught on January 20, 2003 2:11:44 AM]
Advertisement
it had source tags, and still has, just the ''s really messed with it
quote:Original post by billybob
they are pointers though, i''m pretty sure ''.''s only work with "scoped instances" or whatever you would call it.
The problem is that the []s already take away one level of indirection, so it''s not a pointer by the time it gets to the ->.
quote:Original post by Beer Hunter
The problem is that the []s already take away one level of indirection, so it''s not a pointer by the time it gets to the ->.


oh ok, thats good to know

This topic is closed to new replies.

Advertisement