Thread overview | |||||
---|---|---|---|---|---|
|
September 17, 2010 [phobos] phobos commit, revision 2017 | ||||
---|---|---|---|---|
| ||||
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 [phobos] phobos commit, revision 2017 | ||||
---|---|---|---|---|
| ||||
Posted in reply to dsource.org | 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 [phobos] phobos commit, revision 2017 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Philippe Sigaud | 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
|
Copyright © 1999-2021 by the D Language Foundation