I'm trying to figuring out how to translate const in C to D. I have these examples:

const int * a;
int * const b;
const int * const c;
const int * const * d;

Which I think should be translated like this:

const(int)* a;
const int* c;
const(int*)* d;

But I don't know how to translate "b". I think "b" is a const pointer to a mutable int, is that possible to have in D?

--
/Jacob Carlborg

Reply via email to