foreach thoughts

Manu turkeyman at gmail.com
Tue Jan 14 17:38:13 PST 2014


On 15 January 2014 02:56, Daniel Murphy <yebbliesnospam at gmail.com> wrote:

> foreach(thought; thoughts)
>  if(!thought.isInteresting)
>    delete thought;
>

That's a redundant filter, your code effectively does nothing ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140115/86e18bb4/attachment-0001.html>


More information about the Digitalmars-d mailing list