Commit graph

42 commits

Author SHA1 Message Date
Stefan Koch
ecd689d604 correct anySatisfy docs 2017-01-11 05:52:04 +01:00
tsbockman
b46d832110 Optimize staticSort for partially sorted input.
`staticMerge` is very expensive, as it allocates a lot of compile time
memory.
2016-12-15 09:15:31 -08:00
tsbockman
345111f4b2 Add std.meta.staticIsSorted. 2016-12-15 09:12:34 -08:00
Martin Nowak
0f5b131d0a Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
        std/traits.d
2016-11-05 12:15:09 +01:00
somzzz
daf4d06d47 fixup 2016-11-01 06:25:46 -07:00
somzzz
e0ca51f9f0 fix issue 8799 2016-11-01 06:14:14 -07:00
Petar Kirov
be6571ca37 Resurrect ApplyLeft and ApplyRight's documentation
Also put the signature of `isImplicitlyConvertible` in a comment to make the example more clear.
2016-10-23 23:05:18 +03:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Atila Neves
d599518eee Add @safe to std.meta unit tests 2016-07-01 11:14:48 +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
Dmitry Olshansky
03d4171455 Merge pull request #4374 from mogucpp/master
make ApplyLeft/ApplyRight work with deep template
2016-06-08 11:51:32 +04:00
mogucpp
fad7eb0bf8 simplify Alias/ApplyLeft/ApplyRight impl, fix Issue 16070, more tests 2016-06-07 08:04:29 +08:00
Petar Kirov
6958c8179d Move allSatisfy, anySatisfy and staticIndexOf to searching in the quick index 2016-05-30 03:23:17 +03:00
Sebastian Wilzbach
f2e4aad20d Issue deprecation warning for deprecated IndexOf 2016-05-29 23:56:06 +02:00
Sebastian Wilzbach
ba2205e210 Add quickindex table to std/meta.d 2016-05-29 23:56:03 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
d1714c9afb minor style fixes 2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Dmitry Olshansky
61dfd480bb Merge pull request #4155 from 9il/imports
optimize and reduce imports for `aliasSeqOf`
2016-04-26 20:14:53 +04:00
Ilya Yaroshenko
bbdf3bed26 optimize and reduce imports for aliasSeqOf 2016-04-26 15:56:38 +02:00
biotronic
4cb7c0199d Fix 14561 - Large enums cannot be parsed due to too many recursive template expansions 2016-04-03 16:47:36 +00:00
Martin Nowak
5fb53481fc fix Issue 15782 - Alias no longer strips qualifiers from user defined types
- introduce OldAlias for internal usage
- deprecate unqualifying of UDTs
- unfortunately deprecation message isn't shown in many use-cases
2016-03-20 16:49:42 +01:00
JakobOvrum
d5df74c507 Merge pull request #4088 from klickverbot/applyleftright
meta: CamelCase apply{Left, Right}
2016-03-17 16:04:08 +09:00
David Nadlinger
de843d5299 meta: CamelCase apply{Left, Right}
They return general templates, not values.
2016-03-16 16:50:12 +00:00
Superstar64
81ace2f346 added staticSort 2016-02-26 18:26:13 -05:00
H. S. Teoh
b2f1987cb3 Merge pull request #4007 from e10s/meta_repeat
Introduce std.meta.Repeat
2016-02-19 17:06:13 -08:00
H. S. Teoh
80c5318a38 Merge pull request #3985 from John-Colvin/publicAlias
make std.meta.Alias public and orthogonal to std.meta.AliasSeq
2016-02-19 11:35:16 -08:00
Kazuya Takahashi
ca28462781 Introduce std.meta.Repeat 2016-02-19 22:46:20 +09:00
H. S. Teoh
25aae21049 Merge pull request #3798 from JakobOvrum/std_meta_apply
Add std.meta.applyLeft and std.meta.applyRight
2016-02-17 10:39:49 -08:00
Jakob Øvrum
b04a0eabea Add std.meta.applyLeft and std.meta.applyRight 2016-02-17 22:52:24 +09:00
John Colvin
2a29bb1592 make std.meta.Alias orthogonal to std.meta.AliasSeq and public 2016-02-14 14:39:04 +00:00
Dragos Carp
189dcda76c Remove .stringof usage 2015-11-25 22:39:56 +01:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
Jonathan Crapuchettes
058c01f1be Add AliasSeqOf to std.meta 2015-10-30 10:56:07 -07:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Mike
29abd583ba Fix a few typos in std/meta.d 2015-07-17 20:51:21 +09: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