bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InetAddress classes


From: Marc Boris Dürner
Subject: Re: InetAddress classes
Date: Sat, 27 Dec 2003 23:04:46 +0100 (MET)

>I don't think there is any reason to not try it. 
Is that a yes or no? ;) 
 
InteAddress as a template class would be ok, unless It would be valid to
have a 
InetAddress without a validator. Does the validator do anything else than
throwing 
exceptions? wouldnt it be enough to limit the creation of Inetaddresses
through the ctor? I 
mean when you get four bytes for an IP from an in_addr struct and they
result from an 
uninitialised struct or something how is the validator going to see the
difference? How and 
what is validated? 
 
On Saturday 27 December 2003 22:51, you wrote: 
>       I don't think there is any reason to not try it. 
> 
> On Sat, Dec 27, 2003 at 01:06:48AM +0100, "Marc Boris Dürner" wrote: 
> > - Is anything speaking against making InetAddress a template where the 
> > validator is the 
> > template type? 
> > 
> > regards, 
> > Marc 
 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net






reply via email to

[Prev in Thread] Current Thread [Next in Thread]