k-hara
292b23b51c
Use built-in tuple operations
2013-05-27 23:08:17 +09:00
k-hara
eadb9f928c
Rename app
to w
...
`w` (==`writer`) is better than `app`(==`appender`).
2013-05-27 23:08:16 +09:00
k-hara
1094a3fc0b
Rename to areCompatibleTuples, and add small fix
2013-05-27 23:07:41 +09:00
k-hara
99619cbc72
Use T.init
2013-05-27 23:05:21 +09:00
k-hara
bb82877781
Remove unnecessary length
member
...
It's automatically forwarded to expand.length through `alias this`.
2013-05-27 23:05:19 +09:00
k-hara
ff056812b0
Remove workaround for the compiler bug 4424
2013-05-27 23:05:17 +09:00
k-hara
cce4e4ebd7
Divide template and enclosed struct
...
The utility templates and functions are not necessary in Tuple struct.
2013-05-27 23:05:15 +09:00
k-hara
f4f57e89a5
Fix comment indent and style
2013-05-27 23:05:13 +09:00
k-hara
b80cbad1cc
fix Issue 9431 - Tuple creation problem with array of array
2013-04-06 03:23:19 +09:00
unknown
35bae9ad6e
tweak in scoped
2013-03-23 10:19:35 +01:00
monarch dodra
e364e71eab
Improve scoped
2013-03-20 23:03:35 +01:00
k-hara
b9444a7a0f
Transient change for qualified constructor introduction
2013-03-13 12:58:35 +09:00
k-hara
89c0c18602
fix Issue 8613 - std.typecons.Proxy cannot work with operator 'in'
2013-03-12 12:43:22 +09:00
k-hara
b6d2e042c7
Use unary std.traits.isAssignable
2013-03-12 11:54:05 +09:00
k-hara
e878e2c44a
fix Issue 8655 - bitfields and Typedef don't mix
...
Support built-in properties
2013-03-12 11:54:04 +09:00
k-hara
c0dcacbcb8
Enable test line that had been blocked by issue 7641
2013-03-12 11:54:02 +09:00
k-hara
0879a5ea45
Improve test cases for qualified objects
...
By fixing issue 8669, they are now working properly.
2013-03-12 11:52:14 +09:00
k-hara
77788c7040
Merge two opEquals into one
...
This did not work by compiler bug, but does now.
2013-03-12 10:27:52 +09:00
k-hara
4ca1b61134
Enable test lines that had been blocked by issue 2486
2013-03-12 10:25:32 +09:00
k-hara
526d4571a7
Change Nullable ctor to inout
2013-03-07 13:27:52 +09:00
k-hara
4785bc179f
Fix qualifier to call correct constructor
2013-03-06 21:36:41 +09:00
jmdavis
2735d30f4e
Remove all uses of std.metastrings.Format.
2013-02-24 18:42:46 -08:00
jmdavis
895550649f
Remove all uses of toStringNow.
2013-02-24 18:23:51 -08:00
Alex Rønne Petersen
35d08ef3d8
Merge pull request #1153 from andralex/5013
...
Fix Issue 5013 - std.typecons.Tuple should have constructor for static arrays
2013-02-24 16:58:24 -08:00
Andrei Alexandrescu
075db4dcb9
issue 5658
2013-02-25 02:09:56 +02:00
k-hara
9985101830
Tuple member defaultInit requires 'this', so use std.traits.defaultInit with selective import.
2013-02-24 13:05:39 +09:00
Andrei Alexandrescu
702daca312
issue 5013
2013-02-23 18:34:18 +02:00
k-hara
0610220281
Property and non-property function cannot overload each other.
...
Today, compiler does not check it if they are just defined. It is another compiler bug, but this code is essentially illegal.
2013-02-18 17:13:19 +09:00
monarch dodra
75f143a2fa
make nullable throw logic errors
2013-01-31 18:32:54 +01:00
k-hara
c753619ffe
fix Issue 9404 - Nullable is unusable with 2.061
2013-01-31 11:36:19 +09:00
Nick Treleaven
5083260795
Fix typos
2013-01-07 17:01:11 +00:00
Andrei Alexandrescu
f12c860a23
Merge pull request #896 from denis-sh/std.conv.emplace-fixes
...
`std.conv.emplace` fixes & improvements
2012-12-12 07:41:03 -08:00
Don Clugston
5ef89e6c86
10% faster compile for std.algorithm
...
by fixing incredibly slow Tuple code.
2012-12-11 08:31:20 +01:00
Robert Klotzner
b8ee86505f
Little doc fix for Yes, No struct.
2012-11-28 00:42:15 +01:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
SHOO
f82ebec423
add testcase
2012-11-20 23:50:58 +09:00
SHOO
a8305d0b21
fix Issue 9049 - std.typecons.Proxy doesn't treat ref parameter correctly.
...
http://d.puremagic.com/issues/show_bug.cgi?id=9049
2012-11-20 23:40:16 +09:00
Denis Shelomovskij
1450381ba6
Add workaround for unaligned Scoped
movement in memory
...
* class instance now moved accordingly
2012-11-19 23:47:23 +04:00
Denis Shelomovskij
e541499ea7
Add comments to std.typecons.Scoped
implementation
2012-11-19 23:09:25 +04:00
Denis Shelomovskij
44ac2b7774
Don't use l
as symbol name.
2012-11-18 20:54:59 +04:00
Denis Shelomovskij
603d2e22f3
Rename private std.typecons._aligned
to _alignUp
and add constraint.
2012-11-18 20:36:51 +04:00
k-hara
fc31fc2e1f
fix Issue 2273 - Supplemental fix for dmd pull #1243
2012-11-08 13:47:47 +09:00
Denis Shelomovskij
d038acb443
Workaround for an issue on Posix that fails b3d3c44cc1
with the following linker error:
...
generated/linux/debug/32/unittest/std/typecons.o: In function `_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped14Scoped_payloadMNgFNdZNgC3std8typecons18__unittestL3287_53FZv1A':
/home/braddr/sandbox/d/d-tester/client/pull-346162/phobos/std/typecons.d:3090: undefined reference to `_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped7alignedFkZk'
2012-10-28 13:04:48 +04:00
Denis Shelomovskij
95c5ba378c
Added unittests for fixed std.typecons.scoped
initialization issue.
...
* issue fixed in commit 2840e44b21
2012-10-28 12:08:14 +04:00
Denis Shelomovskij
3e0f69c3df
Added unittests for fixed std.typecons.scoped
alignment issue.
...
* issue fixed in commit 9cf123aff3
2012-10-28 12:05:45 +04:00
Denis Shelomovskij
deb33d0f79
Remove outdated comment from std.typecons.scoped
unittest.
2012-10-28 11:51:42 +04:00
Denis Shelomovskij
b3d3c44cc1
Fix std.typecons.scoped
name clashes issue
...
One was unable to call `alignment` or `aligned` class members because `Scoped(T)` struct has such private members and name lookup is done before protection resolution.
2012-10-28 11:42:32 +04:00
Denis Shelomovskij
47a39775d5
Replace if
with static if
in std.typecons.RefCounted
2012-10-28 11:18:09 +04:00
Denis Shelomovskij
2840e44b21
Fix std.typecons.scoped
issue similar to RefCounted
issue 6436.
...
* Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=6436
2012-10-27 10:23:26 +04:00
Denis Shelomovskij
9cf123aff3
Fix terrible std.typecons.scoped
bug
...
For misaligned buffer it emplaces object to incorrect memory location.
2012-10-27 10:23:26 +04:00