Compares two NetworkSockets for equality.
Synopsis
Declared in <folly/net/NetworkSocket.h>
constexpr
bool
operator==(
NetworkSocket const& a,
NetworkSocket const& b) noexcept;
|
Note
|
This function is a hidden friend of NetworkSocket, declared only inside that class: it can be found only through argument-dependent lookup. |
Return Value
true if both sockets wrap the same handle.
Parameters
Name |
Description |
a |
The first socket. |
b |
The second socket. |
Created with MrDocs