$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Candidate for 1.66.1, if there is one
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-12-24 23:18:14
On 12/24/17 2:28 PM, Olaf van der Spek via Boost wrote:
> On Sun, Dec 24, 2017 at 6:04 PM, Peter Dimov via Boost
> <boost_at_[hidden]> wrote:
>> It should be possible to create portable ones based on Endian's buffer
>> types, one just needs to choose an appropriate size for 'int' (32 bits would
>> probably be fine here) and 'long' (32, 48, or 64? hard to say.)
>
> 48?? ;)
>
> How about variable-width encoding? Hard-coding the size of int might
> be problematic.
>
That's what the sample portable_binary_archive in the serialization
library already does. The issue gets sticker for floating point numbers
in the portable binary archive.
Robert Ramey