Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2839
Collapse the table of content
Expand the table of content

Compiler Error C2839

Error Message

invalid return type 'type' for overloaded 'operator ->'

The -> operator must return a class, struct, or union, or a reference to one.

Community Additions

© 2015 Microsoft