Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-02-11 13:01:51

--- In boost_at_y..., Karl Nelson <kenelson_at_e...> wrote:
> > From: "Karl Nelson" <kenelson_at_e...>
> > > Second, what is reasonable here? Under Microsoft .Net they
allow the
> > > same argument to be used multiple times. Or an argument not to
> > > used. Should this be valid?
> > >
> > > cout << format("%2$d %2$x", i, i);
> >
> > Why not?
> It drives down preformance because you must now scan the format
> strings list to find out all the places the string is used and
> do the conversions. Also it breaks 1-1 correspondence with the
> arguments. But then if it is needed that it should have it.
> Does it need it?
> --Karl

On one hand if it really hurt a performance I would prefer in some
cases not to support this. OTOH it could be convinient. Could you
postpone this decision into a policy?


Boost list run by bdawes at, gregod at, cpdaniel at, john at