Jonathan M Davis
87fbbbc390
Simplify hasElaborateConstructor.
...
__postblit represents a directly declared postblit constructor, but any
struct which either has a postblit constructor or which has a member
which has a postblit constructor will have __xpostblit. So, we should
only need to check for __xpostblit instead of recursively checking all
of the member variables for __postblit.
2017-11-18 22:57:03 -07:00
Alexandru Caciulescu
1d26b5fef7
Fix issue 6895 std.traits.isCovariantWith doesn't work for function, function pointer and delegate
2017-10-24 15:48:53 +03:00
Sebastian Wilzbach
41de215c91
Remove invalid private access by getSymbolsByUDA from unittest
2017-10-05 21:55:33 +02:00
Sebastian Wilzbach
3cc63005e1
Issue 16984 - Make std.traits runnable
2017-10-05 21:30:13 +02:00
Martin Nowak
f9b2d42e9e
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
Conflicts:
std/uni.d
2017-10-01 14:44:58 +02:00
Basile Burg
b4aeee6050
fix issue 11389 - template arity does not work with function type
2017-09-14 12:06:38 +02:00
Basile Burg
cb6d70a995
ddoc, add missing isSIMDVector to the index trait
2017-09-10 23:23:25 +02:00
Steven Schveighoffer
373babe48e
fix issue 13262 - Ensure shared data can be sent and received via
...
send/receive. Also now allows all types of shared items to be stored in
a Variant.
2017-08-16 11:35:11 -04:00
Martin Nowak
deb28da3ee
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-08-16 12:17:39 +02:00
Martin Nowak
477c4ea6d8
safe unittest
2017-08-16 12:12:30 +02:00
anonymous
2e063e9246
fix issue 17192 - ParameterDefaults fails when parameter is called "i"
2017-08-02 22:33:21 +02:00
H. S. Teoh
80401a8729
[trivial] Enable ddocs for QualifierOf.
2017-08-02 11:19:43 -07:00
John Colvin
1676b867fe
refer to std.meta not std.typetuple
2017-08-01 14:47:53 +01:00
Sebastian Wilzbach
be351ebe20
Revert "Fix Issue 16744: Add Typeof"
2017-07-31 20:50:33 +02:00
The Dlang Bot
674f87e061
Merge pull request #5662 from dlang/MetaLang-patch-1-3
...
Fix Issue 16744: Add Typeof
merged-on-behalf-of: Stefan Koch <UplinkCoder@users.noreply.github.com>
2017-07-31 18:15:52 +02:00
MetaLang
d39cc3ff43
Fix Issue 16744: Add Typeof
...
This an alternative implementation to https://github.com/dlang/phobos/pull/4920
2017-07-28 23:05:00 -03:00
RazvanN7
24bfb294b7
Fix Issue 6384 - add std.traits.isComparable
2017-07-27 16:51:40 +03:00
The Dlang Bot
e1de10a464
Merge pull request #5626 from rainers/retry_ParameterStorageClassTuple
...
reimplement std.traits.ParameterStorageClassTuple()
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-19 18:04:27 +02:00
Rainer Schuetze
272722fc5b
avoid new CTFE function to be emitted to the object file
2017-07-19 08:09:37 +02:00
Rainer Schuetze
2c0e2c7bd8
convert static loop into runtime/CTFE loop
2017-07-19 01:01:59 +02:00
Rainer Schuetze
102cd2da25
fix case in documentation
2017-07-18 22:36:24 +02:00
Rainer Schuetze
a8859e9545
reimplement std.traits.ParameterStorageClassTuple() with __traits
2017-07-18 09:27:18 +02:00
The Dlang Bot
f6fa59e942
Merge pull request #5623 from quickfur/static-array-docs
...
[dox] Positive examples for isStaticArray.
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-07-17 22:45:42 +02:00
H. S. Teoh
948b390e9d
[dox] Positive example for isStaticArray.
...
The current ddoc'd unittest for isStaticArray is pretty ridiculous: it
gives the user examples of what is *not* a static array, but not even a
single example of what *is* a static array!
2017-07-17 13:04:36 -07:00
Andrei Alexandrescu
82c3371d85
Convert range primitives to CNF like a boss
2017-07-16 00:40:24 +02:00
RazvanN7
8d29b4d6c1
Made the comment of MutableOf private
2017-07-06 19:08:16 +02:00
RazvanN7
43eadc38e3
Fix Issue 17369 - [Module std.traits] Documentation lists ditto in table
2017-07-06 19:08:16 +02:00
The Dlang Bot
51c52bbb5b
Merge pull request #5429 from rainers/mangledName_obsolete
...
map std.traits.mangledName directly to mangleof
merged-on-behalf-of: Rainer Schuetze <rainers@users.noreply.github.com>
2017-07-06 07:32:39 +02:00
Rainer Schuetze
73244e12bf
mangledName: update documentation and add runnable example using staticMap
2017-07-04 23:25:15 +02:00
The Dlang Bot
76668a1ff4
Merge pull request #5385 from ntrel/hasNested-recurse
...
std.traits: Make hasNested ignore class reference members
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-02 22:03:31 +02:00
Sebastian Wilzbach
a311ba161a
Remove hard-coded DScanner exclusion of std.traits and std.typecons
2017-06-30 04:47:36 +02:00
The Dlang Bot
32b53346ff
Merge pull request #5484 from wilzbach/fix-17224
...
Issue 17224 - Foreach documentation still refers to TypeTuples, rather than AliasSequences
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-06-28 21:39:39 +02:00
Sebastian Wilzbach
108d0c7ba1
Import std.meta.staticMap in std.typecons to avoid regressions
...
See also: https://github.com/dlang/phobos/pull/5484#discussion_r122602797
2017-06-28 17:44:37 +02:00
The Dlang Bot
6e79d22fdf
Merge pull request #5487 from wilzbach/fix-traits
...
Fix booktable in std.traits
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-06-24 10:21:29 +02:00
Sebastian Wilzbach
f6615959e8
Fix booktable in std.traits
2017-06-15 18:19:35 +02:00
Sebastian Wilzbach
e7111d4fd0
Fix invalid undefined Ddoc macros
2017-06-15 11:00:47 +02:00
Sebastian Wilzbach
f381477bdc
Issue 17224 - Foreach documentation still refers to TypeTuples, rather than AliasSequences
2017-06-15 06:50:30 +02:00
Andrei Alexandrescu
dba38b5640
Revert "reimplement std.traits.ParameterStorageClassTuple()"
2017-06-11 14:39:41 -04:00
Rainer Schuetze
6b41acd9ba
map std.traits.mangleName directly to mangleof
2017-06-10 11:29:27 +02:00
The Dlang Bot
f9409cb7bd
Merge pull request #5424 from WalterBright/VariadicFunctionStyle
...
reimplement std.traits.VariadicFunctionStyle()
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-06-10 05:30:53 +02:00
Walter Bright
7ea0f6a0d9
Merge pull request #5427 from WalterBright/ParameterStorageClassTuple
...
reimplement std.traits.ParameterStorageClassTuple()
2017-06-09 18:58:35 -07:00
Walter Bright
1757660223
reimplement std.traits.ParameterStorageClassTuple()
2017-06-09 17:06:13 -07:00
H. S. Teoh
09e5a3ccc7
Fix bracing style.
2017-06-07 12:53:26 -07:00
Andrey Kabylin
23c4f0f9a9
errors with getSymbolsByUDA to get a private members ( #5344 )
...
* Remove the ability for getSymbolsByUDA to get a private method from
another module
2017-06-01 13:13:10 +02:00
The Dlang Bot
4b727ed11d
Merge pull request #5326 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-30 01:02:05 +02:00
Jonathan Marler
d3dcbc60b6
Fixed circular reference bug in fullyQualifiedName.
...
Note: unittest serves as a regression test to make sure the circular reference bug does not come back.
2017-05-28 16:33:08 -06:00
Walter Bright
fa4d134ff9
reimplement std.traits.VariadicFunctionStyle()
2017-05-23 14:35:21 -07:00
Walter Bright
9d6420ee31
reimplement std.traits.functionLinkage using __traits
2017-05-22 22:40:25 -07:00
Nick Treleaven
95f6d5bff3
Fix Issue 17389 - hasNested infinite recursion
...
Happens with a class with a member of the same type.
2017-05-10 13:14:08 +01:00
tsbockman
83f757c177
Fix issue 17340 - isNumeric!bool should not be true
2017-04-22 09:03:15 -07:00