Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2005-05-17 14:57:43

On Tue, May 17, 2005 at 07:53:00PM +0100, Dave Harris wrote:
> In-Reply-To: <20050516205339.GW11789_at_[hidden]>
> droba_at_[hidden] (Pavol Droba) wrote (abridged):
> > In addition I would suggest to remove direct support for pointer types
> > like char* from the range library and provide it only via as_string()
> > construct to definitely remove any kind of confusion.
> Sounds like a good idea.
> Are we going to generalise it to allow any (compile-time constant)
> terminator? If so, is as_string() the best name?

There is nothing in the way for the generalization. Also there is nothing
there the would prevent use from declaring another manipulator.
as_string is quite intuitive for what is designed.

What about something like 'as_terminated_array<terminator>(xxxx)'


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