[Issue 3242] New: splitter does not handle input range made of a unique separator correctly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 10 08:21:38 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3242
Summary: splitter does not handle input range made of a unique
separator correctly
Product: D
Version: unspecified
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: baptiste.lepilleur at gmail.com
Notes: I found this while porting the splitter range algo to C++. Notes that I
don't know D, so I may have missed something.
Below is an additional unit test that fails when porting the algorithm to C++:
unittest
{
auto s6 = ",";
auto sp6 = splitter(s6, ',');
assert(equal(sp6, ["", ""][]));
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list