David Nadlinger
3faffc3c59
Avoid calling a qualified constructor in Cycle.
...
This is actually invalid code, as typeof(this) == inout(this),
but Cycle has no inout constructor. This wasn't previously
detected, as the constructor was mistakenly flagged as creating
an unique object where qualifiers can be disregarded. (The
reference parameter is leaked into the Cycle instance, so
this is obviously not the case.)
2014-01-13 03:39:22 +01:00
monarchdodra
44fe3d88f7
Remove tabs
2014-01-08 08:37:52 +01:00
monarchdodra
1e479c8e5b
Fixup commit a8177b8cc3
...
Per a8177b8cc3 (commitcomment-4991972)
:
"nothrow" was superfluous
2014-01-06 19:26:38 +01:00
Andrej Mitrovic
7933ee1e57
Merge pull request #1835 from monarchdodra/cycle2
...
Bring the noise to Cycle
2014-01-06 05:40:28 -08:00
Andrej Mitrovic
a0e06cbf0f
Merge pull request #1836 from monarchdodra/repeatConst
...
Tweaks in repeat
2014-01-05 09:43:04 -08:00
Andrej Mitrovic
351903bab9
Merge pull request #1832 from monarchdodra/takeBack
...
Fix Take's "back"
2014-01-05 09:14:02 -08:00
monarchdodra
5b331e0266
Add some inout to Repeat
2014-01-05 17:35:48 +01:00
monarchdodra
1c5dc0684c
Use "in" preconditions over asserts
2014-01-05 17:34:23 +01:00
monarchdodra
03c769cc89
Place "Front" before "Back"
2014-01-05 17:32:52 +01:00
monarchdodra
9e52fa95e0
Redocument Repeat
...
Because once you've said what it adheres to, there's nothing else to document
2014-01-05 17:21:36 +01:00
monarchdodra
5694fdfea3
More documented unittest
2014-01-05 17:21:36 +01:00
monarchdodra
8317c38d9b
Remove superfluous parens
2014-01-05 17:21:36 +01:00
monarchdodra
2684dcbe60
Use documented unittest in Repeat
2014-01-05 17:21:34 +01:00
monarchdodra
a8177b8cc3
Rework qualifiers in Cycle!Array
2014-01-05 11:44:19 +01:00
monarchdodra
cab8c652f0
rework slicing
2014-01-05 11:44:19 +01:00
monarchdodra
02309987e1
Use preconditions over asserts
2014-01-05 11:44:19 +01:00
monarchdodra
da2fef1f4a
new-style aliases
2014-01-05 11:44:19 +01:00
monarchdodra
bd90787cf8
tweak opDollar's DollarToken
2014-01-05 11:44:19 +01:00
monarchdodra
03e2829025
Tweak save implementation
2014-01-05 11:44:19 +01:00
monarchdodra
9df6b50ba0
Make internal attributes private
2014-01-05 11:44:19 +01:00
monarchdodra
933fc4c370
Tweak blocks for consistency
2014-01-05 11:44:18 +01:00
monarchdodra
a2fdb226c7
Remove dubious support for Unqual!R
2014-01-05 11:44:18 +01:00
monarch dodra
09ae8fffbc
Merge pull request #1631 from RommelVR/repeatbi
...
Adds Bidirectionality to Repeat
2014-01-05 02:41:02 -08:00
monarchdodra
e151ccfcd4
Take bidirectional unittest
2014-01-04 18:15:17 +01:00
monarchdodra
6bf9133808
Fix Take.back property
2014-01-04 18:13:03 +01:00
Andrei Alexandrescu
cb7cd89e06
Merge pull request #1809 from monarchdodra/traitsImport
...
Reduce imports in std.traits
2013-12-30 10:04:28 -08:00
k-hara
e825baf202
Remove imports enclising by version(unittest)
...
Instead add local imports more.
2013-12-30 21:56:04 +09:00
k-hara
07e2349cef
fix Issue 11838 - Missing emplace import for std.range.zip?
2013-12-30 21:43:44 +09:00
monarchdodra
4615b40868
Reduce imports in std.traits
2013-12-29 22:31:51 +01:00
Vladimir Panteleev
c53b1c77a0
DDoc fixes
...
This fixes some warnings as identified by the compiler,
as well as some broken cross-reference links caused by
DDoc auto-formatting of the current symbol.
2013-12-28 21:28:41 +00:00
k-hara
ba1235c3ac
Fix mistaken imports
2013-12-26 11:55:21 +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
1e80655e52
Further reductions
2013-12-22 22:26:56 -08:00
Andrei Alexandrescu
52148d52aa
Reduce deps in std.range
2013-12-19 18:40:28 -08:00
Andrei Alexandrescu
edddfa2455
Merge branch 'master' of github.com:D-Programming-Language/phobos into fewer-imports
2013-12-19 15:31:37 -08:00
Andrei Alexandrescu
919aa8f085
Rebased and fixed issues
2013-12-19 15:22:55 -08:00
Martin Nowak
c445f1c288
Merge pull request #1766 from jmdavis/deprecations
...
Move various deprecations along.
Conflicts:
std/algorithm.d
std/zip.d
2013-12-19 23:33:47 +01:00
Andrei Alexandrescu
db687ef010
rebased
2013-12-19 14:14:23 -08:00
monarch dodra
50ad576f63
Merge pull request #1743 from JakobOvrum/only
...
Add support for multiple values to std.range.only
2013-12-19 05:02:29 -08:00
Jakob Ovrum
c08bc94471
Add support for any number of values to std.range.only
2013-12-19 10:38:26 +09:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Don Clugston
a1c4cb33c2
Fix spelling mistake in doc comment
2013-12-10 10:17:29 +01:00
Jakob Ovrum
02129cb68f
Move std.range.only example to documented unit test
2013-12-04 00:21:18 +09:00
monarchdodra
f95a918506
Remove useless Tuple from chain
2013-11-26 08:31:04 +01:00
monarchdodra
d78433f76e
Fix typos
2013-11-22 21:41:54 +01:00
monarchdodra
87c71e6e14
Further improve put
2013-11-22 21:41:54 +01:00
monarchdodra
156962217c
Issue 10571 - formattedWrite error with delegate and string
2013-11-22 21:41:54 +01:00
monarchdodra
c717b503e7
put rewrite
...
Better compatibility with cross string output
2013-11-22 21:41:54 +01:00
k-hara
a9eb6219b4
fix Issue 11401 - ElementType returns constructor instead of type
...
1. For `exp.member`, compiler always try to resolve property/optional parenthesis on `exp`. so use `front.init`.
2. Built-in `init` property always returns rvalue, so `front.init` won't invoke postblit.
2013-11-04 16:43:44 +09:00
Andrej Mitrovic
e8883a8542
Fixes Issue 11339 - Add examples for ElementEncodingType and ElementType.
2013-10-24 16:39:44 +02:00