Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2001-07-03 09:52:31


----- Original Message -----
From: "Samuel Krempp" <krempp_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, July 02, 2001 1:25 PM
Subject: Re: [boost] Review : format2, yet another 'printf class'

> > I like this functionality; I suspect it could be very useful for
> > complex formats. However, I think the logic expressed by the 'print()'
> > call is not printing at all, but 'clear'-ing the formatting object,
> > which has gotten bound to certain sets of arguments.
>
> not, it's the opposite : print() is cloning the object.
> I should call it clone(), btw.

If 'operator %' returned a new object instead of modifying the old object in
place, there would be no need for 'print'/'clone'.

--
Rainer Deyke (root_at_[hidden])
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk