Boost logo

Boost Users :

From: Dave Dribin (dave-ml_at_[hidden])
Date: 2005-11-14 16:16:17


Hello,

I recently upgrade from Boost 1.32.0 to 1.33.0, since I just upgraded
to Mac OS X 10.4 from 10.3. I noticed a slightly different behavior
in boost::algorithm::split between these two versions. If you have a
trailing delimiter, like:

   vector<string> results;
   ba::split(results, ",foo,", ba::is_any_of(","));

This returns 2 elements in 1.32.0 and 3 elements in 1.33.0. Was this
changed intentionally? It does seem to make more sense to return 3
elements, but it currently breaks my program.

-Dave


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net