Proposal: takeFront and takeBack

Christophe Travert travert at phare.normalesup.org
Thu Jul 5 01:59:09 PDT 2012


If you really don't need the value, you could devise a "justPop" method 
that does not return (by the way, overloading by return type would be an 
amazing feature here). The idea is not "we should return a value 
everytime we pop", but "we should pop when we return a value".

-- 
Christophe


More information about the Digitalmars-d mailing list