On 09/10/14 13:38, monarch_dodra via Digitalmars-d wrote:
I'm not really sure about the: "Then at some future point we could apply the left hand side qualifiers to the return type, e.g. `const int foo();` == `const(int) foo();`"I don't think it buys us anything, except maybe silently changing semantics of code that hibernated through the deprecation process.
Besides,
const int foo() const
{
...
}
is fairly ambiguous syntax to my eyes.
const(int) foo() const
{
...
}
is less so.
