Any word on the return-type const syntax?

Robert Fraser fraserofthenight at gmail.com
Sun Dec 9 00:47:50 PST 2007


Janice Caron wrote:
> No, sorry - I figured out the problem. Invariant classes and invariant
> member functions make no sense. This was discussed in another thread
> somewhere, and Walter agreed.

Link? More than half of the classes I write are invariant after 
construction, and having the compiler be able to optimize that would be 
great (Java 6's HotSpot can, after all, without any special marking in 
the code).



More information about the Digitalmars-d mailing list