
25 Sep
2008
25 Sep
'08
8:50 p.m.
----- Original Message ----- From: "Joel Falcou" <joel.falcou@u-psud.fr> To: <boost@lists.boost.org> Sent: Thursday, September 25, 2008 9:08 PM Subject: Re: [boost] hton/ntoh template functions vicente.botet a écrit :
Hi,
currently most of the applications that must take care of endianess use ntohl/htonl ntohs/htons functions. When the size of the integer change we need to change between the -s and -l functions (or maybe remove the call for chars).
<snip> Why are they template ? Atfer all, the 3 overload is fully sufficent I think
Oups! You are right.