Commit graph

389 commits

Author SHA1 Message Date
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
Dmitry Olshansky
c496463339 Merge pull request #2203 from monarchdodra/isSomeString
Constrain isSomeString
2014-05-31 04:10:42 -07:00
monarchdodra
e2e3a70a62 Constrain isSomeString 2014-05-25 17:43:42 +02:00
Andrej Mitrovic
2955301d81 Add some missing docs to std.traits. 2014-05-24 22:19:48 +02:00
monarchdodra
001fad4558 Remove trailing whitespaces 2014-05-17 15:35:25 +02:00
Walter Bright
54836250d7 Merge pull request #1391 from TurkeyMan/simd-traits
Added support for simd primitives to std.traits.Signed/Unsigned
2014-05-11 19:30:48 -07:00
k-hara
2c1a8f8eaf Supplemental fix for issue 7469 2014-05-10 02:39:53 +09:00
Manu Evans
33aa546ea3 Added isSIMDVector, support for SIMD primitives to std.traits.Signed/Unsigned, and fullyQualifiedName 2014-05-10 01:47:01 +10:00
Andrej Mitrovic
7a976513b9 Fix Issue 12668 - std.traits.functionAttributes should use the new
getFunctionAttributes trait.
2014-05-08 18:30:36 +02:00
monarchdodra
d609bd332f Sed "@safe pure nothrow" 2014-05-06 08:21:13 +02:00
Andrej Mitrovic
c61c1232b9 Merge pull request #2070 from monarchdodra/hasIndirections
Re-implement hasIndirections
2014-04-26 01:54:00 +02:00
Walter Bright
0c945e2627 @nogc for builtin functions 2014-04-23 02:27:54 -07:00
monarchdodra
bc1876626b Re-implement hasIndirections
Avoids requesting the RepresentationTypeTuple of T unless really needed.

Partially solves 12000:
https://d.puremagic.com/issues/show_bug.cgi?id=12000

Fix Issue 12000 - Forward reference issue with RefCounted
2014-04-05 17:59:32 +02:00
Dmitry Olshansky
a8c60a9cdb Clarify DDoc of hasElaborateAssign
Split the overly long sentence in two, otherwise
it's easy to miss the point about auto-generation.
2014-03-29 15:50:03 +04:00
Andrej Mitrovic
6c38d569c8 Fixes Issue 12356 - Add better documentation and add examples for isTypeTuple and isExpressionTuple. 2014-03-13 13:54:28 +01:00
Andrei Alexandrescu
b0aabc6c93 Merge pull request #1978 from 9rnsr/fix12287
Issue 12287 - infinite loop on std.traits.moduleName on templated struct member
2014-03-09 23:01:12 -07:00
k-hara
d9aa953c50 fix Issue 12309 - The template fullyQualifiedName returns wrong result 2014-03-07 18:22:05 +09:00
k-hara
a4aa5d8a15 fix Issue 12287 - infinite loop on std.traits.moduleName on templated struct member 2014-03-07 18:21:55 +09:00
Yazan S. Dabain
a81f6200cf [Trivial] Fix documentation typos 2014-02-28 21:08:19 +02:00
k-hara
2c67d9a71a fix Issue 10502 - Can't get fullyQualifiedName of a templated struct 2014-02-27 17:56:49 +09:00
k-hara
c6d5d7350c [Refactoring] Make helper template names short 2014-02-27 17:56:47 +09:00
k-hara
768907aea8 Add a test case isAssignable!(void[1], void[1]) 2014-02-11 18:36:40 +09:00
k-hara
f822e7a893 Remove package function defaultInit
It was a hack for the compiler bugs around T.init. Now the they are properly fixed, so the unused helper function is actually unnecessary.
2014-02-11 18:35:08 +09:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
k-hara
2763ee1466 fix Issue 12089 - std.utf.validate and inout(char[]) failts to compile
Unqual should support inout(const(T))
2014-02-10 23:29:28 +09:00