Preserving const? -- A potential solution

Daniel Keep daniel.keep.lists at gmail.com
Sat Mar 7 23:12:20 PST 2009



Tim M wrote:
> 
>>> If you're not actually responding to a post, please don't quote the
>>> entire thing in your message.
> 
> The subject should have been more accurate then but yes preserving
> constness is very usefull though I prefer the inferred template way:

One issue with this is that template functions can't be virtual.

You can work around it, but it's really putting barriers up to easy use
of the new const system, which I think is a bad thing.

  -- Daniel



More information about the Digitalmars-d mailing list