container class sample on Tango mainpage can not compile
    Sam Hu 
    samhu.samhu at gmail.com
       
    Sun Jan 11 18:10:48 PST 2009
    
    
  
Moritz Warning Wrote:
> On Wed, 07 Jan 2009 19:47:57 -0500, Sam Hu wrote:
> 
> > Morning,
> > 
> > Anybody can help?
> > 
> > Regards,
> > Sam
> 
> try this:
> 
> auto nameSet=new TreeBag!(char[])(null, (char[] first,char[] second) {
> 		return icompare(first,second);
> 	}
> );
> 
> btw: tango.collection.* is deprecated and will be replaced by 
> tango.container.*, so you might want to use these.
Thanks so much!!!It works now.
> btw: tango.collection.* is deprecated and will be replaced by 
> tango.container.*, so you might want to use these.
So where can I find another addIf method in the container class or should I implement by myself?
Regards,
Sam
    
    
More information about the Digitalmars-d-learn
mailing list