Returning const? -- A potential solution

Jason House jason.james.house at gmail.com
Mon Mar 9 10:47:57 PDT 2009


Kagamin Wrote:

> Jason House Wrote:
> 
> > Maybe my web searches are failing me, but all I found was your posts in the "equivalent functions" thread. The details there were sparse. In that thread, your first post did not support sameconst(this), but was added a bit later. As far as I can tell, it died with Andrei posting he felf his solution was more general. I hated Andrei's reuse of typeof.
> 
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=76920

Hmmm... I guess I consistently like the same syntax. The value of my recent proposal was more about how the type system would work under the hood. Still, it appears others beat me to the same conclusion.



More information about the Digitalmars-d mailing list