Boost logo

Boost :

Subject: Re: [boost] [Endian] Reading/writing from/to byte buffers
From: Olaf van der Spek (ml_at_[hidden])
Date: 2017-02-01 06:04:29


On Sat, Jan 28, 2017 at 6:13 AM, David Stone <david_at_[hidden]> wrote:
> Aliasing rules in C++ prohibit the use of reinterpret_cast in this
> situation unless the dynamic type pointed to by p is actually
> big_int64_buf_t.

Right, so something like read_be64(const void*) would be nice to have.

Beman?

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk