Eugen Wissner
4fd37e84f8
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. |
||
---|---|---|
.. | ||
tanya |