www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Transitive const and function pointers/delegates

reply Francis Nixon <13nixonf gmail.com> writes:
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?
Aug 29 2017
parent Kagamin <spam here.lot> writes:
It's const(int delegate(char))
Aug 31 2017