Transitive const and function pointers/delegates

Francis Nixon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 29 21:57:34 PDT 2017


I was wondering how transitive const applies to functions. For 
example would the following declaration:

const int delegate(char)

be equivalent to:

const(int) delegate(char) // I think its this one

or:

const(int) delegate(const(char))

Would it be different for function instead of delegate?


More information about the Digitalmars-d-learn mailing list