2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-29 19:52:16 +00:00

missing stdio.h include for printf; define operator!= to work around bug in Tru64 cxx algorithm library

[SVN r20296]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2003-10-07 21:07:03 +00:00
parent f7c034d510
commit 13e118b0dd

View File

@@ -20,6 +20,7 @@
#include <ostream>
#include <boost/shared_ptr.hpp>
#include <stdio.h>
struct IntWrapper {
static bool gIntWrapperTrace;
@@ -41,6 +42,7 @@ struct IntWrapper {
};
inline bool operator== (IntWrapper const &lhs, IntWrapper const &rhs);
inline bool operator!= (IntWrapper const &lhs, IntWrapper const &rhs);
inline bool operator< (IntWrapper const &lhs, IntWrapper const &rhs);
inline int compare (IntWrapper const &lhs, IntWrapper const &rhs);
inline std::ostream &operator<< (std::ostream &strm, IntWrapper const &iw);
@@ -142,6 +144,11 @@ bool operator== (IntWrapper const &lhs, IntWrapper const &rhs)
return lhs.mI == rhs.mI;
}
bool operator!= (IntWrapper const &lhs, IntWrapper const &rhs)
{
return lhs.mI != rhs.mI;
}
bool operator< (IntWrapper const &lhs, IntWrapper const &rhs)
{
return lhs.mI < rhs.mI;