looking for V[string] workarounds

Dan dbdavidson at yahoo.com
Wed Mar 20 10:24:49 PDT 2013


On Wednesday, 20 March 2013 at 17:11:02 UTC, Ali Çehreli wrote:
> The code compiles with 2.062 and an earlier version of 2.063 if 
> you accept letting go of const-correctness there:
>
>     this(Series[string] source) {
>

Thanks Ali. But, removing const there then requires non-const 
instances to be passed in, due to const transitivity. So that 
requirement would ripple a change to all already const correct 
instances to now need to flip to non-const. I'm looking for a 
const correct solution. It should be doable ... I just have had 
no luck with it.

Thanks
Dan



More information about the Digitalmars-d-learn mailing list