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
Jack Stouffer
118f2d7733
Improve some docs in std.traits
2017-03-18 16:41:18 -04:00
sprinkle131313
d79da1d3ca
Issue 16485 - Add trait for testing if a member is static.
2017-03-04 00:09:32 -05:00
Sebastian Wilzbach
a2c6398332
Automatically add spaces to binary operators (==)
...
command:
sed -E "s/([[:alnum:]]) == ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]])== ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) ==([[:alnum:]])/\1 == \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
The Dlang Bot
166ae7dde3
Merge pull request #5170 from wilzbach/fix-17196
...
Issue 17196 - [Reg 2.074] isUnsigned!bool now true
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-02-21 12:02:20 +01:00
Sebastian Wilzbach
76dd6fe33b
Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true
2017-02-21 06:30:19 +01:00
Sebastian Wilzbach
58c91e1a2c
Issue 17196 - [Reg 2.074] isUnsigned!bool now true
2017-02-21 06:09:06 +01:00
Walter Bright
771467b9e5
[scope] add some 'scope' support to std.traits
2017-02-04 02:11:00 -08:00
Per Nordlöw
956ef765c6
More alias-this tests and move some of the other-alias tests to undocumented unittests
2017-01-25 19:20:00 +01:00
Per Nordlöw
e685232e3b
More negative asserts for alias-this-types
2017-01-25 19:12:18 +01:00
Per Nordlöw
284784a3c4
Cleanup function doc comments
2017-01-25 19:07:50 +01:00
Per Nordlöw
53f011cb08
Restrict isScalarType to non-aggregate types
2017-01-25 19:07:50 +01:00
Per Nordlöw
2c21169b5b
Restrict isNumeric to not include char, wchar and dchar
2017-01-25 19:07:50 +01:00