Sure, we can do that.

-Steve



----- Original Message ----
> From: Andrei Alexandrescu <[email protected]>
> To: Steve Schveighoffer <[email protected]>
> 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
> 


      
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to