Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-03-24 04:18:13


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?

Stefan


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