August 30, 2017 Transitive const and function pointers/delegates | ||||
---|---|---|---|---|
| ||||
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? |
August 31, 2017 Re: Transitive const and function pointers/delegates | ||||
---|---|---|---|---|
| ||||
Posted in reply to Francis Nixon | It's const(int delegate(char)) |
Copyright © 1999-2021 by the D Language Foundation