diff options
| author | Eugen Wissner <belka@caraus.de> | 2017-07-04 07:24:29 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2017-07-04 07:24:29 +0200 |
| commit | 4fd37e84f8bea5d710abeb4f39a2f5dbc912874b (patch) | |
| tree | fb0db0821fc3274ca61bf4dae5e87593931d39f7 /dscanner.ini | |
| parent | e46e45ad5a43bfc281e3e058eb37676ba00a04dd (diff) | |
| download | tanya-4fd37e84f8bea5d710abeb4f39a2f5dbc912874b.tar.gz | |
Fix #232 for Array
Because const is transitive, if we create a range as Range!(const E)
there is no way to get the original type from inside of the range. So if
E is int*, the original type of const(E) could be const(int)* or int*.
Unqual!(const(int*)) returns const(int)*. So pass the whole container as
template parameter. It is a breaking change but since we have Range and
ConstRange aliases now, the usage should be fine.
Diffstat (limited to 'dscanner.ini')
0 files changed, 0 insertions, 0 deletions
