This patch fixes errors like this:
Code:
cxx: Error: /usr/lib/cmplrs/cxx/V6.5-014/include/cxx/algorithm.cc, line 103:
no operator "!=" matches these operands
operand types are: DictIndex != const DictIndex
detected during instantiation of "InputIterator
std::find(InputIterator, InputIterator, const T &) [with
InputIterator=DictIndex *, T=DictIndex]"
while (first != last && *first != value)
-----------------------------------^
cxx: Info: 1 error detected in the compilation of "Main.cpp".
The Standard Template class of the Compaq C++ compiler apparently needs an explicit definition of a != operator, if you use != on the class/struct.
Interesting note:
The STL of Compaq C++ is based on the STL from Rogue Wave.
Rogue Wave has recently released their STL as open source (and has been picked up by the Apache Foundation). I'm not sure if the current release of RW STL (or Apache stdcxx) still requires this.. but might be worth checking out.
http://www.roguewave.com/standard-library/
http://incubator.apache.org/stdcxx/