Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] BOOST_FOREACH.

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] BOOST_FOREACH.


Chronological Thread 
  • From: Cody Rose <>
  • To:
  • Subject: Re: [cgal-discuss] BOOST_FOREACH.
  • Date: Thu, 04 Jul 2013 09:16:16 -0700

You could probably use a boost iterator range as an adaptor: http://www.boost.org/doc/libs/1_54_0/libs/range/doc/html/range/reference/utilities/iterator_range.html

Cody

On 7/4/2013 7:53 AM, Nico Kruithof wrote:
Hi,

I like BOOST_FOREACH but as I far as know, it needs a container and not a range. What would be the most convenient way to use it with the vertices of a triangulation where you only have the ..._begin() and ..._end() members?

--
Nico Kruithof
nghk.nl




Archive powered by MHonArc 2.6.18.

Top of Page