[phobos] phobos commit, revision 1930
    Steve Schveighoffer 
    schveiguy at yahoo.com
       
    Thu Aug 26 10:30:19 PDT 2010
    
    
  
Sure, we can do that.
-Steve
----- Original Message ----
> From: Andrei Alexandrescu <andrei at erdani.com>
> To: Steve Schveighoffer <schveiguy at yahoo.com>
> Sent: Thu, August 26, 2010 1:26:58 PM
> Subject: Re: [phobos] phobos commit, revision 1930
> 
> On 8/26/10 10:24 PDT, Steve Schveighoffer wrote:
> > On that topic a bit,  calling clear on an Appender!string allows you to 
>overwrite
> > immutable  data.  Do we care too much?  I think we can just mark the  clear
> > function as @system and call it a day...
> 
> I think it's  important to preserve immutable. Let's guard clear with static if 
>(!is(T ==  const) && !is(T == immutable)). Thanks!
> 
> Andrei
> 
      
    
    
More information about the phobos
mailing list