We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 606604d + eb0c2c9 commit c0122d1Copy full SHA for c0122d1
libraries/Ethernet/src/EthernetClient.h
@@ -24,6 +24,8 @@ class EthernetClient : public Client {
24
virtual void stop();
25
virtual uint8_t connected();
26
virtual operator bool();
27
+ virtual bool operator==(const bool value) { return bool() == value; }
28
+ virtual bool operator!=(const bool value) { return bool() != value; }
29
virtual bool operator==(const EthernetClient&);
30
virtual bool operator!=(const EthernetClient& rhs) { return !this->operator==(rhs); };
31
0 commit comments