cpp/numeric/byteswap

Reverses the bytes in the given integer value.

participates in overload resolution only if satisfies, i.e.,  is an integer type. The program is ill-formed if has padding bits.

Return value
An integer value of type whose object representation comprises the bytes of that of  in reversed order.