Commit graph

32 commits

Author SHA1 Message Date
k-hara
d3df489171 fix Issue 9976 - Needlessly large instantiation depth in std.typetuple algorithms 2013-04-24 14:27:22 +09:00
k-hara
230e12c418 Use ddoc-ed unittest feature 2013-04-24 14:27:15 +09:00
k-hara
43d1196c07 fix Issue 9976 - more compile time algorithms implementation used deep recursion
Reduce instantiation depth in staticMap, allSatisfy, anySatisfy, and Filter.
2013-04-22 15:19:34 +09:00
David Nadlinger
198369f79c Make std.typetuple.template{And, Or, Not} public as intended.
They accidentally ended up below a "private:" label. Now that
DMD actually checks template visibility, this rendered them
effectively unusable.
2012-11-26 19:11:04 +01:00
John-Colvin
9618b7a81c move Alias to package
see no reason for it to be public, so should be package until someone thinks of a reason.
2012-10-29 15:19:24 +00:00
John-Colvin
974139acca move Alias to public section
now private templates are actually private, Alias can no longer be accessed by std.traits, see here: http://d.puremagic.com/issues/show_bug.cgi?id=8797

Moving Alias to public fixes this.
2012-10-26 17:35:36 +02:00
jmdavis
0ff85c49b1 Moved filter to the public section.
It seems that Filter accidentally got put in the private section of the
file, and now that the bug making all templates public has been fixed,
Filter isn't useable.
2012-09-16 21:14:08 -07:00
David Nadlinger
aaa8c4a937 Re-apply pull request #163 with changed test predicate names.
This reverts commit 043633d33d.
2012-09-10 01:19:36 +02:00
Andrei Alexandrescu
043633d33d Revert "Merge pull request #690 from klickverbot/template-predicates"
This reverts commit 87e9a4e94b, reversing
changes made to 7326c53cb5.
2012-09-08 13:20:16 +02:00
David Nadlinger
1c086dc002 Added template{And, Or, Not}.
Names in lowercase as per Andrei's request, see discussion in pull request #690.
2012-09-06 14:52:07 +02:00
David Nadlinger
395e360d74 Document non-short-circuiting behavior of allSatisfy/anySatisfy. 2012-08-06 14:34:51 +02:00
David Nadlinger
41cca054a5 std.typetuple docs: Use "template predicate". 2012-08-06 14:34:51 +02:00
jmdavis
68de5f2f5a Added Filter and Lambda to std.typetuple. 2012-08-02 19:51:42 -07:00
Nick Treleaven
22aa73ae92 Fix using F!() syntax instead of F[] in typetuple.d documentation
This applies for staticMap, allSatisfy, anySatisfy documentation.
2012-03-22 11:58:49 +00:00
Denis Shelomovskij
6e88523269 std.typetuple.isSame fix 2011-11-05 13:57:40 +03:00
Andrej Mitrovic
0a19e38618 Added missing format specifier in call to writefln. 2011-05-24 21:38:08 +02:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
Shin Fujishiro
8e9c9a61ec Fixed unlisted bug: std.typetuple.staticMap!() doesn't work with empty/single tuples. 2010-09-17 21:40:05 +00:00
David Simcha
ff0c2b3d3b Support moveFront() and friends and assignable elements where possible. 2010-09-13 01:53:39 +00:00
David Simcha
60ba977cf4 Added std.typetuple.anySatisfy because I need it for my work in std.range. 2010-08-17 00:38:38 +00:00
Andrei Alexandrescu
42bdc4ae67 Moved static asserts at module level into unittests. This reduces the size of many client object files by up to 20x. 2010-06-09 19:34:20 +00:00
Shin Fujishiro
5c9725d6cd Moved allSatisfy and staticMap to std.typetuple 2010-05-18 11:15:44 +00:00
Don Clugston
0ecae3a354 Change [length] to [$] throughout Phobos. 2009-11-03 07:55:49 +00:00
Andrei Alexandrescu
13e83e2998 Changed isSame following string literals having become lvalues 2009-10-28 03:34:17 +00:00
Andrei Alexandrescu
dbd4e31f19 Minor optimization in decode 2009-10-27 03:29:55 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Andrei Alexandrescu
0c142994d9 See changelog - bunch of bug fixes and a couple additions for release 2.032 2009-08-31 19:46:33 +00:00
Andrei Alexandrescu
ff6acb6e3e replaced indexOf with indexOfType, kept the old name as an alias that will be deprecated. 2009-07-04 07:09:29 +00:00
Andrei Alexandrescu
bcfdd75970 minor 2009-04-06 18:32:37 +00:00
Brad Roberts
a9bc53273c merge r387:397 from candidate to trunk
-- new module std.contracts
  -- migrate callers to it where appropriate
2007-10-14 23:04:19 +00:00
Brad Roberts
e001ab7bfe phobos 0.174 2007-09-10 05:34:58 +00:00