Hi

In the C++ client, things like Receiver appear to be handles with pointer semantics.

Can one compare two handles for equality to find out if they both refer to the same implementation object?

Even if neither class Receiver nor class Handle implement operator==, the following code surprisingly complies:

qpid::messaging::Receiver r1;
qpid::messaging::Receiver r2;
...
bool equal = (r1 == r2);

How come this compiles and what does it do?

Cheers
Jiri


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to