Overloading methods by constness?

Nathan Reed nathaniel.reed at gmail.com
Sun Aug 26 10:31:06 PDT 2007


Witold Baryluk wrote:
> 
> This isn't bug.
> 
> Look also at the 
> http://s3.amazonaws.com/dconf2007/WalterAndrei.pdf
> 
> page 38.

Good, I'm glad to see this problem is being addressed.  I do have a 
question about the 'return' storage-class, though.  Will it only work 
for non-member functions, or will there be a syntax for writing a member 
function for which 'this' has the 'return' storage-class?  Although, 
with the new interchangeable function call syntax, this doesn't matter 
that much...

Thanks,
Nathan Reed


More information about the Digitalmars-d-learn mailing list