Thread overview
[phobos] phobos commit, revision 2017
Sep 17, 2010
dsource.org
Sep 18, 2010
Philippe Sigaud
Sep 21, 2010
Shin Fujishiro
September 17, 2010
phobos commit, revision 2017


user: rsinfu

msg:
Fixed unlisted bug: std.typetuple.staticMap!() doesn't work with empty/single tuples.

http://www.dsource.org/projects/phobos/changeset/2017

September 18, 2010
On Fri, Sep 17, 2010 at 23:40, dsource.org <noreply at dsource.org> wrote:

> phobos commit, revision 2017
>
>
> user: rsinfu
>
> msg:
> Fixed unlisted bug: std.typetuple.staticMap!() doesn't work with
> empty/single tuples.
>
> http://www.dsource.org/projects/phobos/changeset/2017
>
>
Thanks for this one. About 0-cases, do  allSatisfy/anySatisfy   work for 0 types? You can easily get this degenerate case when using template to generate typetuples.


Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100918/641da334/attachment.html>
September 22, 2010
Philippe Sigaud <philippe.sigaud at gmail.com> wrote:
> Thanks for this one. About 0-cases, do  allSatisfy/anySatisfy   work for 0 types? You can easily get this degenerate case when using template to generate typetuples.

Yes, they work.  allSatisfy!pred == true and anySatisfy!pred == false.


Shin