qb
2.0.0.0
C++17 Actor Framework
|
Identifies a UDP endpoint, extending qb::io::endpoint with hashing support. More...
#include <udp.h>
Classes | |
struct | hasher |
Hash function for udp::identity objects. More... |
Public Member Functions | |
identity ()=default | |
Default constructor. | |
identity (qb::io::endpoint const &ep) | |
Construct from an existing qb::io::endpoint. | |
bool | operator!= (identity const &rhs) const noexcept |
Inequality operator. |
Identifies a UDP endpoint, extending qb::io::endpoint with hashing support.
This structure is used to represent the source or destination of a UDP datagram. It inherits from qb::io::endpoint and adds a custom hasher for use in unordered collections like qb::unordered_map.
|
inline |
Construct from an existing qb::io::endpoint.
ep | The endpoint to copy identity information from. |
|
inlinenoexcept |
Inequality operator.
rhs | Right-hand side identity |