W8089 'type::operator<' must be publicly visible to be contained by a 'type' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

The type that is being used for an STL container has a private 'operator<'. The type that is being contained (type::operator) must be a public type.

For example, if you were trying to instantiate a class type "vector<blah>", the error would be:

'blah::operator<' must be publicly visible to be contained by a 'vector'