Compiler Error C2839

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

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

Show: