Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2005-03-24 05:22:19


Hi Stefan,

On Thu, Mar 24, 2005 at 10:18:13AM +0100, Stefan Slapeta wrote:
> Hi,
>
> is it possible to make the split function return the last token even if
> empty? IMO the current behaviour is a violation of generic concepts:
>
> split(..., "\tabc") -> returns 2 tokens
> split(..., "abc\t") -> returns 1 token
>
> What is the rationale for this?
>

This is known issue, it will be fixed in the upcoming release.

Regards,

Pavol


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