Bernie Bright writes:

 > Haven't we seen this or something like it before?  Instead of "fixing" the
 > code every time wouldn't it be easier to supply the missing comparison
 > functions for your platform:
 > 
 > inline bool
 > operator!=( const std::string& lhs, const char* rhs )
 > {
 >      return lhs.compare( rhs ) != 0;
 > }
 > 
 > inline bool
 > operator!=( const char* lhs, const std::string& rhs )
 > {
 >      return rhs.compare( lhs ) != 0;
 > }
 > 
 > Other comparisons could be added if required.

Good idea.  Erik?


All the best,


David

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to