← Back to team overview

yade-dev team mailing list archive

Re: [Yade-commits] r1346 - in trunk: core extra extra/tetra extra/usct

 

eudoxos at BerliOS said:     (by the date of Wed, 7 May 2008 23:48:59 +0200)

> 1. BOOST_FOREACH now works with InteractionContainer and BodyContainer and is #defined as foreach.
> 
> example:
> 
> 	foreach(shared_ptr<Body> b, *rootBody->bodies) cerr<<"Body id: "<<b->getId()<<endl;


Please don't do this, and revert this quickly. Nobody knows what
foreach() is, because it is not present in boost documentation.

Two names for one thing simplifies nothing and is only confusing.

-- 
Janek Kozicki                                                         |
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups