Immutable cannot be casted to const when using pointers
Jeroen Bollen
jbinero at gmail.com
Wed Apr 9 03:25:34 PDT 2014
On Tuesday, 8 April 2014 at 21:53:58 UTC, Steven Schveighoffer
wrote:
> The rule of thumb is, 2 or more references deep does not
> implicitly convert. One reference deep is OK.
>
> -Steve
For some reason I was expecting that to rhyme. :P
Anyways thanks all, makes sense now. Are there any workarounds?
The function taking the const int** is external(C) so I'm not
sure what to do.
More information about the Digitalmars-d
mailing list