Boost logo

Boost :

Subject: Re: [boost] [boost::endian] Summary of discussion #1
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-06-04 13:44:27


----- Original Message -----
From: "Stewart, Robert" <Robert.Stewart_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, June 04, 2010 6:33 PM
Subject: Re: [boost] [boost::endian] Summary of discussion #1

> Of course "pack" can be a noun. I didn't say otherwise (presuming that your reference to nouns versus verbs was in reference to one of my posts on that point). However, just as you've used it, a "pack" is a collection or holder of things. Hence, it doesn't work in this context because the type in question holds a single integer type of some number of bits/octets.

The Beman's unaligned version contains a number of octes not an integer.

       char m_value[n_bits/8];

best,
Vicente


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