|
Asio Extensions
Additional functionality built on top of (Boost.)Asio
|
Classes | |
| struct | asioext::is_raw_byte_container< T > |
| Determines whether T satisfies the RawByteContainer requirements. More... | |
A RawByteContainer is a special ContiguousContainer that stores POD-type objects with a size of 1 byte.
The type X satisfies RawByteContainer if
X::value_type satisfies PODType andX::value_type has a size of 1 byte (sizeof(X::value_type) == 1) andGiven:
a, rvalue expression of type of type Xn, a value of type X::size_type The following expressions must be valid and have their specified effects:
| expression | return type | effects | precondition | postcondition |
|---|---|---|---|---|
a.resize(n) | void | erases or appends elements to meet size() == n | a.size() == n |