fastcgipp-users
[Top][All Lists]
Advanced

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

Re: [Fastcgipp-users] Re: converting data to string


From: Eddie Carle
Subject: Re: [Fastcgipp-users] Re: converting data to string
Date: Tue, 05 Jan 2010 13:24:23 -0700

On Mon, 2010-01-04 at 08:24 -0700, Axel von Bertoldi wrote:
> Maybe the Address class could benefit from a getString() method?

Yeah, I am torn on this one. Standard C++ calls for the use of streams
to handle turning custom data types into a human readable format. A
getString() function, albeit convenient, is only of any use to
std::string. What if one is using custom string types. At least they
have the option of deriving basic_ostream to utilize the same conversion
functions.
--
        Eddie Carle





reply via email to

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