Learning to read C++ compiler errors: Illegal use of -> when there is no -> in sight

1 · Raymond Chen · April 6, 2026, 4:33 p.m.
Summary
This blog post discusses the common C++ compiler error regarding illegal use of the '->' operator when it is not present. The author emphasizes the importance of understanding compiler messages that indicate errors beyond what the user has directly coded, suggesting a deeper investigation into the source of the error.