|
Boost : |
From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-01-06 10:28:19
Chris Cleeland wrote:
> On Thu, 5 Jan 2006, Pedro Lamarão wrote:
>
>
>>Yuval Ronen wrote:
>>
>>[SNIP]
>>
>>
>>>And one last suggestion: A construtor taking 4 unsigned chars, allowing
>>>this:
>>>asio::ipv4::address my_address(192, 168, 0, 1);
>>
>>I suppose you meant four unsigned shorts?
>
>
> An IPv4 address is comprised of four octets, and an unsigned char
> sufficiently represents an octet. A short would be overkill, no?
I see, you meant an implicit conversion to char?
I still fail to see a use case for this.
Help me here. :)
-- Pedro Lamarão Desenvolvimento Intersix Technologies S.A. SP: (55 11 3803-9300) RJ: (55 21 3852-3240) www.intersix.com.br Your Security is our Business
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk