Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#245 closed Bugs (Fixed)

signals

Reported by: nobody Owned by: mark_rodgers
Milestone: Component: functional
Version: None Severity:
Keywords: Cc:

Description

//to suppoet intel-win32 under inter8.0, change bellow!

file:singals

namespace boost {
  namespace BOOST_SIGNALS_NAMESPACE {
    class trackable;

    namespace detail {
      // Represents an object that has been bound as 
part of a slot, and how
      // to notify that object of a disconnect
      struct bound_object {
        void* obj;
        void* data;
        void (*disconnect)(void*, void*);

        bool operator==(const bound_object& other) const
          { return obj == other.obj && data == 
other.data; }
        bool operator<(const bound_object& other) const
          { return obj < other.obj; }

//Add by ty, to support intel 80 compiler, 2004/03/18
bool operator!=(const bound_object& other) const
          { return !(*this==other); }
		bool operator>(const bound_object& 
other) const
          { return !(*this < other); }

      };

Change History (2)

comment:1 by Douglas Gregor, 18 years ago

Status: assignedclosed

comment:2 by dloomer, 18 years ago

Logged In: YES 
user_id=1110071

The implementation of operator> is not correct.  If the two 
objects to be compared are equal, then operator> will return 
true
Note: See TracTickets for help on using tickets.