Commit graph

459 commits

Author SHA1 Message Date
Andrei Alexandrescu
bf14b1897e Merge pull request #3797 from Cauterite/issue11135
Issue 11135 - Nullable(T, T nullValue) does not support NaN
2016-09-23 16:24:52 -04:00
Jack Stouffer
f10e3fd608 Remove package wide std.algorithm imports from std/typecons.d 2016-09-20 11:05:17 +01:00
Andrei Alexandrescu
b97f0050be Merge pull request #4043 from John-Colvin/named
Add std.typecons.Tuple.rename
2016-09-19 20:23:35 -04:00
John Colvin
657a0ff30f make sure Tuple method unittests aren't massively duplicated 2016-09-19 18:27:06 +02:00
Walter Bright
0fbd57c283 make Proxy.accessibleFrom() work with 'scope' inference 2016-09-11 04:20:10 -07:00
John Colvin
21d65b6a23 test typecons.Tuple.rename for sucessful no-ops, working around bug 16418 2016-09-02 09:11:20 +01:00
John Colvin
f2a49114cc simplify typecons.Tuple.rename implementation 2016-09-02 09:11:20 +01:00
John Colvin
bc22574fa6 fix std.typecons.Tuple.rename LREFs 2016-09-02 09:11:20 +01:00
John Colvin
ef448f92d2 complete std.typecons.Tuple.rename range example 2016-09-02 09:11:20 +01:00
John Colvin
cb59a64b54 make all std.typecons.Tuple.rename unittests @safe 2016-09-02 09:11:20 +01:00
John Colvin
5c23826279 std.typecons.Tuple.rename return by ref 2016-09-02 09:11:20 +01:00
John Colvin
239e4c8daf add std.typecons.Tuple.rename 2016-09-02 09:11:20 +01:00
Cauterite
0efa1d3bf9 workaround for bug 11135 (typecons.Nullable) 2016-08-19 23:52:22 +10:00
Cauterite
e50b77fbce document unittest 2016-07-27 01:41:31 +10:00
Cauterite
52110d98db appeasing the brace Nazis 2016-07-27 00:18:42 +10:00
Cauterite
052fcc9430 tab -> spaces
god forbid anyone have a tab in their code ¬_¬
2016-07-26 22:56:53 +10:00
Cauterite
c0fb999749 make Unique.opDot() inout
typecons.Unique.opDot() should be inout to allow use through const access paths.
2016-07-26 22:48:27 +10:00
Atila Neves
270abec779 Add @system and @safe to std.typecons unit tests 2016-07-10 14:30:36 +02:00
Jack Stouffer
dffa714429 Fixed std.algorithm imports in std.typecons to not be package wide 2016-07-02 23:56:36 -04:00
Andrei Alexandrescu
3a0caddfb5 Merge pull request #4483 from WalterBright/typeconsinfer
std.typecons: prevent inference of attributes of test cases
2016-06-27 19:48:04 -04:00
Walter Bright
eddcadd90a std.typecons: prevent inference of attributes of test cases 2016-06-27 11:45:07 -07:00
Steven Schveighoffer
d42eff4ff8 Merge pull request #4450 from burner/typecons_implicit_string_join
std.typecons implicit string join
2016-06-21 13:36:18 -04:00
Robert burner Schadek
db42ef2550 std.typecons implicit string join
made explicit
2016-06-21 14:33:43 +02:00
Andrei Alexandrescu
c9a9bb69e0 Merge pull request #4430 from WalterBright/typecons-uintptr
typecons: size_t should be uintptr_t
2016-06-18 07:28:22 -04:00
Andrei Alexandrescu
5d6569a3e5 Merge pull request #4344 from aG0aep6G/16054
fix issue 16054 - can break immutable with std.typecons.Rebindable
2016-06-18 05:10:43 -04: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
Walter Bright
bd2d48b9b3 typecons: size_t should be uintptr_t 2016-06-14 14:40:39 -07:00
Sebastian Wilzbach
49531e3c73 fix broken web links
sed 's/(WEB http:\/\//(WEB /' -i **/*.d
2016-06-07 18:54:17 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
b7165c04bc Move Ternary from std.experimental.allocator.common to std.typecons 2016-05-24 10:27:10 -04:00
anonymous
b391486693 fix issue 16054 - can break immutable with std.typecons.Rebindable 2016-05-22 00:33:19 +02:00
Sebastian Wilzbach
f891779f25 use the new alias syntax 2016-04-27 01:56:50 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
k-hara
114e2886d1 Use __traits(identifier) instead of stringof + startsWith in std.typecons.Proxy
It's more lightweight.
2016-03-31 10:36:26 +09:00
H. S. Teoh
3d15c1f3a9 Merge pull request #4129 from ntrel/scoped-docs
Improve docs for `std.typecons.scoped`
2016-03-29 17:43:57 -07:00
Nick Treleaven
0e6f9c0338 Improve docs for std.typecons.scoped
Fix note about moving a class instance.
Show automatic destruction of `scoped` result.
Show how `scoped` can lead to invalid class references.
Show move(typeof(scoped!A)) is wrong.
Show scoped member variable initialization.
2016-03-29 13:49:29 +01:00
Lars T. Kyllingstad
45a7d8efb5 Fix #12914: alignForSize will not accept immutable 2016-02-10 21:50:51 +01:00
Brad Anderson
7a3837095b Remove and explain Flag alias antipattern 2016-01-22 11:06:13 -07:00
John Colvin
563879ae6f Fix Issue 15561 2016-01-13 18:07:06 +00:00
Andrei Alexandrescu
718208dfc5 Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
JakobOvrum
b01c010cc6 Merge pull request #3833 from Bolpat/master
PR "Tuple's toString made useful" once again.
2016-01-08 02:29:15 +01:00
Q. F. Schroll
a0114bcc16 PR "Tuple's toString made useful" once again.
For the conversation and reasons see github.com/D-Programming-Language/phobos/pull/3594
2015-12-01 23:39:15 +01:00
anonymous
933aa8e30d TypeInfo.init -> TypeInfo.initializer 2015-11-30 21:20:46 +01:00
Vladimir Panteleev
e90be60a67 Merge pull request #3839 from aG0aep6G/ddlink
use DDLINK/DDSUBLINK instead of LINK2 and raw HTML
2015-11-27 04:54:52 +02:00
Jonathan M Davis
7afe668428 Merge pull request #3807 from dcarp/Fix15320
[Issue 15320] eliminate 'static assert(__traits(compiles,..'
2015-11-26 17:57:44 -08:00
anonymous
6832caf0be use DDLINK/DDSUBLINK instead of LINK2 and raw HTML
DDLINK/DDSUBLINK use ROOT_DIR which is more robust than a relative path.
2015-11-26 16:04:44 +01:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00