Poll: Would you like to try const-by-default or not?
    Daniel Giddings 
    daniel.giddings at gmail.com
       
    Sun Jun 10 20:01:07 PDT 2007
    
    
  
One more vote for const by default here. With C++ programming, having to 
use const with parameters correctly is a real pain.
Jarrett Billingsley wrote:
> This is not a discussion thread.  I think we've discussed enough.  :)
> 
> Basically there are these possible const implementations (there are others, 
> but for the sake of simplicitly, I'll keep this poll to 2):
> 
> 1) C++ style const, where you mark anything that should be const as such.
> 
> 2) Parameters are const-by-default, and must be marked mutable otherwise. 
> Locals, fields etc. are still mutable by default.
> 
    
    
More information about the Digitalmars-d
mailing list