Contains overloads
Declared in <netbase.h>
Check whether a network is currently reachable.
[[nodiscard]]
bool
Contains(Network net) const;
» more...
Check whether the network of an address is currently reachable.
[[nodiscard]]
bool
Contains(CNetAddr const& addr) const;
» more...
The return value should not be discarded.
| Name | Description |
|---|---|
| net | The network to test. |
| addr | The address whose network is tested. |