Commit graph

246 commits

Author SHA1 Message Date
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
k-hara
6628a306cf Add more necessary local imports 2013-12-26 11:55:18 +09:00
k-hara
baf5c78deb Use selective local import and place at the head of the required code block 2013-12-26 11:55:06 +09:00
Andrei Alexandrescu
4093af87a9 Removed spurious messages, fixed unittest errors 2013-12-19 18:58:33 -08:00
Andrei Alexandrescu
de5789d6c9 Reduce deps in std.conv and std.typecons 2013-12-19 18:16:39 -08:00
monarch dodra
899604e5a6 Merge pull request #1644 from eco/patch-5
Add example of how to use scoped member variable
2013-12-15 23:44:37 -08:00
Martin Nowak
d5ddbb4901 Merge pull request #1724 from monarchdodra/tupleToString
Make Tuple.toString conditional
2013-12-15 15:31:32 -08:00
Tero Hänninen
a63dc3e356 Remove bug from staticIota in typecons
step is not used -> if passed anything other than 1 as step, staticIota
will behave incorrectly.
2013-12-06 17:13:24 +02:00
k-hara
b774a41e59 Get rid of templates just for attribute inference 2013-12-02 22:56:43 +09:00
k-hara
f8fe67ed59 Remove workaround for issue 10313 2013-12-02 10:18:29 +09:00
Daniel Murphy
a11a20ef74 Remove more uses of NCEG operators in phobos 2013-11-30 14:09:39 +11:00
monarchdodra
2af80dc13d Make Tuple.toString conditional 2013-11-26 08:59:02 +01:00
k-hara
38068aa53c Fix unittest for issue 10268. 2013-11-20 21:17:31 +09:00
Brad Anderson
d44f7f628c Add example of how to use scoped member variable 2013-10-15 17:13:32 -06:00
k-hara
4844aef982 Remove workaround for issue 10357
Because the root compiler issue 9665 has been fixed.
2013-10-15 13:07:30 +09:00
Walter Bright
e478ddef9e Merge pull request #1612 from 9rnsr/fix10357
[REG2.063] Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating
2013-10-10 15:07:00 -07:00
k-hara
18cd94ea3b fix Issue 11165 - std.typecons._d_toObject conflicts with std.signals._d_toObject 2013-10-06 22:25:59 +09:00
k-hara
55bc6fc1de fix Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating
Add a workaround until qualified postblit is properly implemented.
2013-10-03 00:54:37 +09:00
k-hara
1c16335334 Fixup for issue 9565
Remove unnecessary else block so right not it's never used.
2013-09-28 19:22:43 +09:00
k-hara
01f9455fac fix Issue 10538 - std.typecons.wrap should consider opDispatch 2013-09-26 13:53:13 +09:00
k-hara
830b6c1bd4 fix Issue 10536 - std.typecons.wrap doesn't work with a class that defines opCast 2013-09-26 13:53:11 +09:00
Andrej Mitrovic
401ded61c8 Fix Issue 10608 - Better diagnostic for RefCounted assert. 2013-09-19 03:09:01 +02:00
k-hara
5fac5f8949 Additional fix for issue 9565 2013-09-04 22:26:52 +09:00
monarch dodra
3d7e9b5d21 Merge pull request #1394 from 9rnsr/enforceProp
Supplemental change for dmd/pull/2305
2013-08-05 10:41:17 -07:00
k-hara
d61085c375 fix Issue 10686 - No [] operator overload for immutable Tuple 2013-07-21 21:22:16 +09:00
Tomoya Tanjo
003798dec6 Add unittest 2013-07-17 21:19:32 +09:00
k-hara
30356d606f Fix @property annotations and incorrect parenthesis 2013-07-16 00:31:26 +09:00
Tomoya Tanjo
b92432cb7a Fix Issue 10647 2013-07-15 23:08:38 +09:00
Tomoya Tanjo
bb50a33f1b Fixes Issue 10570 2013-07-08 21:12:59 +09:00
Andrej Mitrovic
2427090fb1 Fix Refcounted docs - refCountedEnsureInitialized and refCountedIsInitialized did not exist. 2013-06-30 01:42:08 +02:00
k-hara
cc4cf0ca15 fix Issue 10377 - std.typecons.wrap doesn't consider private members 2013-06-17 14:52:13 +09:00
Vladimir Panteleev
b014d940cf std.typecons: Fix typo in Rebindable example 2013-06-12 04:19:30 +00:00
k-hara
2c1b1ffdca fix Issue 10268 - std.typecons.Nullable!JSONValue - error instantiating 2013-06-09 16:19:09 +09:00
Walter Bright
7b0a1219fd Merge pull request #1329 from 9rnsr/fix10220
[REG2.064a] Issue 10220 - `array` doesn't work with disabled default construction
2013-06-04 22:30:00 -07:00
k-hara
f52b88c549 Fix internal template GetOverloadedMethods - should see overload first 2013-06-03 23:50:23 +09:00
Andrei Alexandrescu
cee7de0103 Merge pull request #1265 from 9rnsr/structuralCast
Issue 4999 - Add Kenji Hara's adaptTo() to Phobos
2013-06-01 21:41:54 -07:00
k-hara
e2d991b005 Move checkCTFEable to std.exception.assertCTFEable, and use it 2013-06-02 02:32:24 +09:00
youkei
cec78c3bc1 Space after if 2013-06-01 21:50:15 +09:00
youkei
ff27635df3 Make Tuple.opAssign CTFEable 2013-06-01 01:18:45 +09:00
k-hara
d8c6187d6e Optimize opAssign for rvalue assignment 2013-05-27 23:45:29 +09:00
k-hara
7df2af6d73 Improve member function slice
- Add @trusted attribute
- Change parameter types `uint` to `size_t`
- Limit the range of fields by template constraint
2013-05-27 23:44:58 +09:00
k-hara
3c4b80e357 Remove deprecated Tuple.at member function 2013-05-27 23:09:17 +09:00
k-hara
fdcaba7226 Named-field tuple should be a subtype of unnamed-field tuple. 2013-05-27 23:08:19 +09:00
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