No property 'clear/shrinkTo' for type 'Appender!(string)'

2010-11-11 Thread Eric Desbiens
Hello, If I create an appender for a string, I cannot call the funtion clear or shrinkTo. For example: auto strAppender = appender!string(); strAppender.clear(); strAppender.shrinkTo(); gives compilation error. In std.array source code, it seems that it allows those function to work

Re: No property 'clear/shrinkTo' for type 'Appender!(string)'

2010-11-11 Thread Steven Schveighoffer
On Thu, 11 Nov 2010 15:33:41 -0500, Eric Desbiens wrote: Hello, If I create an appender for a string, I cannot call the funtion clear or shrinkTo. For example: auto strAppender = appender!string(); strAppender.clear(); strAppender.shrinkTo(); gives compilation error. In std.arr