TopicTracker
From devblogs.microsoft.com/oldnewthingView original
TranslationTranslation

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

The article explains that when a C++ compiler reports an error about code you didn't write, you should investigate who actually wrote that code. This helps in understanding misleading error messages like "illegal use of ->" when no arrow operator appears in your source.

Related stories

  • The author discusses using std::basic_string<uint8_t> for handling binary data in C++, noting its convenience for cryptographic and sub-byte operations compared to regular char strings that require dealing with sign bits.