Commit graph

58 commits

Author SHA1 Message Date
Berni
04d23a2304 typetuple: 100% code coverage 2019-09-29 20:13:44 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
c36f95280c Remove quickIndex for modules with booktables or only one symbol 2017-03-01 03:59:22 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Atila Neves
9af7855f38 Add @safe to std.typetuple unit tests 2016-07-02 11:03:08 +02:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
anonymous
667fd86dce fix link to AliasSeq 2015-09-25 16:16:42 +02:00
anonymous
f58b41e868 fix issue 15115 - std.typetuple link to std.meta is 404 2015-09-25 16:13:42 +02:00
Mike
8b51537f50 Revert AliasTuple back to AliasSeq 2015-07-17 08:52:29 +09:00
Mike
74b22a97e1 Rename AliasSeq to AliasTuple 2015-07-14 17:52:05 +09:00
amaury
9b6035f472 Rename Arguments to AliasSeq for alias sequence 2015-07-01 22:40:29 -07:00
amaury
22f86ebab2 Move TypeTuple alias to std.typetuple. There is no reason to expose this more than it needs to. This ensure the role of backward compatibility already. 2015-06-25 13:18:15 -07:00
Martin Nowak
e17b4c2a3e rename std.typetuple to std.meta 2015-05-08 01:27:45 +02:00
Walter Bright
40ca5eabc6 Rename *Tuple symbols 2015-05-06 20:57:24 -07:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
4ce3c58522 Mark *Derived tests as deprecated 2015-05-05 22:22:11 +03:00
Dicebot
c7091a2659 Deprecate MostDerived and DerivedToFront
Those symbols need to be deprecated immediately otherwise
they will clash with new ones in std.traits and cause even
more breakage in existing code.
2015-05-05 22:22:11 +03:00
Dicebot
d689291080 Document upcoming deprecation of std.typetuple
Suggests new symbols to use with their fully qualified paths
2015-05-05 22:22:10 +03:00
Nick Treleaven
40f4796d55 Copy std.typetuple to std.meta.list
Mark std.typetuple as deprecated.
Changes to std.meta.list contents will be done separately for review.
2015-05-05 22:22:10 +03:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
Kunal Bhalla
373e1892b0 Correct documentation for anySatisfy 2014-10-10 20:48:42 -07:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
monarchdodra
1f82e17a40 Remove typetuple dependencies 2013-12-22 17:07:32 +01:00
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