Subject: Re: [boost] hton/ntoh template functions
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-09-25 15:08:28
vicente.botet a écrit :
> 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).
Why are they template ? Atfer all, the 3 overload is fully sufficent I think
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk