...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct an address from raw bytes and scope ID.
address_v6( const bytes_type & bytes, scope_id_type scope_id = 0);
Initialises the address_v6
object such that: * to_bytes() == bytes
; and
this->scope_id()
== scope_id
.
Thrown if any element in bytes
is not in the range 0 - 0xFF
.
Note that no range checking is required for platforms where std::numeric_limits<unsigned char>::max()
is 0xFF
.