Commit graph

413 commits

Author SHA1 Message Date
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
7970fcc748 Don't use fqn for any/all
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
a76d90c927 Phobos should only mention tuple as std.typecons.Tuple 2015-05-05 22:22:11 +03:00
Dicebot
0f74b4c29f Stop mentioning TypeTuple in std.traits
Aliases old names as undocumented (but not deprecated) symbols.
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
Dicebot
3ca20b5ca4 Move MostDerived and DerivedToFront to std.traits
Those two helpers are about type introspection and use
MetaList only coincidently. Such utilities are better fit
to std.traits
2015-05-05 22:22:10 +03:00
JakobOvrum
c775917a34 Merge pull request #3212 from nomad-software/issue_14079
Issue 14079 - Variable templates' documentation not generated.
2015-05-01 08:44:57 +09:00
Ryan
6589e19009 Tweak isAggregateType and isBuiltinType docs.
Align asserts for consistency with other phobos docs.
2015-04-27 21:18:38 -04:00
Ryan
4dfcaba7f6 Usage examples: isAggregateType, isBuiltinType.
Add DDOC usage examples in std.traits for isAggregateType and isBuiltinType.
These currently have no documented examples, and the DDOC summary is not
terribly clear on exactly what they mean.
2015-04-25 17:41:39 -04:00
Gary Willoughby
3e7ad6b341 Fix issue 14079 2015-04-21 20:03:58 +01:00
Kai Nacke
2c4317c8bd Cent-ify std.traits.
Adds traits support for cent/ucent if supported.
2015-04-09 08:21:06 +02:00
Walter Bright
4f8125fb6d fix Issue 14253 - [REG2.067b3] std.traits.ParameterStorageClassTuple gives compiler errors when encountering 'return' functions 2015-03-13 18:22:07 -07:00
k-hara
41f243a6c2 Supplemental fix for issue 2789 2015-02-09 00:01:04 +09:00
Andrei Alexandrescu
71e3ecf680 Merge pull request #2934 from WalterBright/dip25
DIP25: make phobos work with it
2015-01-30 13:59:37 -08:00
Walter Bright
dc302d26a4 DIP25: make phobos work with it 2015-01-30 12:02:48 -08:00
Robert burner Schadek
919c4ecd7b std.traits documentation update
* moved nearly all examples from comments to unittests
** some few had error
* marked existing unittest as examples
** splitted some in the process as they where to long
* ditto for one pair of templates with the same name

minor fix

small fix
2015-01-29 22:14:32 +01:00
anonymous
9309f2b142 [DDoc] add HTML class "quickindex" to manually maintained jump link tables 2015-01-26 11:19:05 +01:00
H. S. Teoh
120aeff09e std.algorithm is now its own package. 2015-01-20 09:14:06 -08:00
Walter Bright
c84ce85e35 correct use of See_Also 2014-12-27 16:30:07 -08:00
Geod24
fc132046bf Remove deprecated and undocumented hasLocalAliasing, hasRawLocalAliasing, hasLocalObjects 2014-12-21 22:14:31 +01:00
Rainer Schuetze
7c2f962b10 make nested foreach over TypeTuple bodies into lambdas to avoid huge functions 2014-11-28 17:15:37 +01:00
Ilya Yaroshenko
c8d9afedea clean scope imports
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Ilya Yaroshenko
46cbe44b26 std.traits: clean imports
remove new private stuff
2014-11-09 19:29:01 +03:00
Nick Treleaven
6a9d5b9364 Fix wrong unittests for std.conv.unsigned, signed 2014-11-07 12:19:40 +00:00
H. S. Teoh
7a517d3590 Improve awkward sentence. 2014-10-30 10:54:25 -07:00
H. S. Teoh
7136639373 Sort identifiers in each category so that they're easier to find! 2014-10-30 10:53:39 -07:00
H. S. Teoh
91cfdfa7e2 Issue 13647: improve std.traits navigation table.
Give more meaningful name to 'xxx' category!
2014-10-30 10:50:40 -07:00
Andrej Mitrovic
4c9132dc24 Merge pull request #2561 from economicmodeling/add_FieldNameTuple_template
Added FieldNameTuple to std.traits
2014-10-25 12:00:29 +02:00
Geod24
ee683ae79f Unnamed parameters for ParameterIdentifierTuple, fix name conflict for ParameterDefaultValueTuple 2014-10-18 03:33:05 +02:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
k-hara
6e54969188 Move prefix member function attributes to postfix 2014-10-04 22:27:14 +09:00
k-hara
d0c6d6a61f Clean unittest code 2014-10-01 11:42:33 +09:00
k-hara
3bdee722c2 Remove typedef handling 2014-10-01 11:37:21 +09:00
Jonathan Crapuchettes
a2fcaab8ab Added FieldNameTuple to the template table. 2014-09-26 19:41:33 -07:00
Jonathan Crapuchettes
c9f2202f76 Added FieldNameTuple 2014-09-26 19:26:39 -07:00
Vladimir Panteleev
8a532cef79 std.traits: Fix missing ) in documentation of isSomeString 2014-09-20 07:20:15 +00:00
k-hara
e0ecca7a0e Supplemental fix for issue 9148 - lambdas will be aggressively inferred to pure 2014-09-08 14:30:44 +09:00
Daniel Murphy
f7ddad2ed3 Issue 8425 - Do not assume __vector(float[4]) is a valid type on all targets 2014-09-07 18:21:46 +10:00
Denis Shelomovskij
f382a83377 Fix property enforcement in std.traits.functionAttributes 2014-08-15 19:55:30 +04:00
Михаил Страшун
e709fee45a Merge pull request #2131 from AndrejMitrovic/Fix12668
Issue 12668 -  std.traits.functionAttributes should use the new getFunctionAttributes trait.
2014-07-29 21:51:19 +02:00
Jakob Ovrum
bf3cee2cfd Make ModifyTypePreservingSTC package instead of private 2014-07-20 21:18:58 +09:00
k-hara
e5f7f41d25 Revert "Merge pull request #1827 from WalterBright/add-opCmp"
This reverts commit dab1796ad6, reversing
changes made to 327085b8fe.
2014-07-09 10:49:55 +09:00
k-hara
6f5feb0895 inout instance field is not allowed in D 2014-07-01 11:18:15 +09:00
jmdavis
71546f33a0 Workaround for issue# 12961. 2014-06-22 13:33:51 -07:00
jmdavis
c800058aca Move along some overdue deprecations. 2014-06-20 04:37:13 -07:00
jmdavis
7f5b1b2ff3 Remove std.traits.unsigned as scheduled. 2014-06-20 02:35:57 -07:00
Justin Whear
98e23d334c Fix #12806
Documentation improvement for `std.traits.isArray` to clarify whether
associative arrays are handled.

Fixes #12806
2014-06-06 09:00:06 -07:00