Show: Delphi C++
E2028 operator -> must return a pointer or a class (C++)
From RAD Studio XE2
The C++ operator -> function must be declared to either return a class or a pointer to a class (or struct or union).
In either case, it must be something to which the -> operator can be applied.