An endpoint must meet the requirements of CopyConstructible
types (C++ Std, 20.1.3), and the requirements of Assignable
types (C++ Std, 23.1).
In the table below, X
denotes
an endpoint class, a
denotes
a value of type X
, s
denotes a size in bytes, and u
denotes an identifier.
Table 10. Endpoint requirements
expression |
type |
assertion/note |
---|---|---|
|
type meeting protocol requirements |
|
|
||
|
||
|
|
|
|
a pointer |
Returns a pointer suitable for passing as the address
argument to POSIX functions such as |
|
a pointer |
Returns a pointer suitable for passing as the address
argument to POSIX functions such as |
|
|
Returns a value suitable for passing as the address_len
argument to POSIX functions such as |
|
post: |
|
|
|
Returns a value suitable for passing as the address_len
argument to POSIX functions such as |