Subject: Re: [boost] [boost::endian] Summary of discussion #1
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2010-06-03 10:15:05
Tomas Puverle wrote:
> > I can imagine any packed byte protocol requiring this.
> When I saw Vincent's post, he wrote "another feature the
> endian class provides and is the ability to work with
> integers with an arbitrary number of bytes"
> endian<big, int, 24> i;
> endian<big, int, 16> j;
> endian<big, int, 24> j;
> Hence I was reading the above as three integers 24, 16, 24
> bytes long, which is why my eyebrows were raised. But I
> think the correct reading would be "an integer type with
> 24, 16 and 24 *bits*" respectively, no?
Rob Stewart robert.stewart_at_[hidden]
Software Engineer, Core Software using std::disclaimer;
Susquehanna International Group, LLP http://www.sig.com
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.