incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: svn commit: r628611 - in /stdcxx/trunk/tests: include/rw_braceexp.h self/0.braceexp.cpp src/braceexp.cpp
Date Tue, 19 Feb 2008 20:12:51 GMT
Martin Sebor wrote:
> This is super cool! I've played with it a bit and except for a few
> minor issues (mostly with ranges) it works like a charm! (I've just
> committed an enhanced version of the test that reveals these problems.)
> About the interface:
> Can the third argument be negative? (If not, it might make sense
> to change its type to size_t). What about the sep argument? Can
> it be outside of the range of char, such as -1?

Btw., it occurs to me that allowing -1 for the separator might be
useful to specify the absence of a separator to generate strings
of consecutive characters or digits. This probably isn't something
we will want to do in the locale queries or in the expected
failures project but it might come in handy when generating input
for test cases (we already have the <char>@<repeat> notation in
the driver -- see rw_expand()).


View raw message