Re: Transitive const and function pointers/delegates

2017-08-31 Thread Kagamin via Digitalmars-d-learn
It's const(int delegate(char))

Transitive const and function pointers/delegates

2017-08-29 Thread Francis Nixon via Digitalmars-d-learn
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?