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

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'
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!