Subject: CGAL users discussion list
List archive
- From: RossH <>
- To:
- Subject: [cgal-discuss] Re: Applying a functor to CGAL iterator ranges.
- Date: Tue, 5 Feb 2013 13:34:03 -0800 (PST)
Cody M Rose wrote
> Depending on what you're iterating over it sounds like you could kludge
> this by creating a sequence filled with pointers to your actual
> iterators. It's certainly not elegant, though.
>
> Cody
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
Yea, the nicest one-off solution is to use a boost::iterator_adaptor (I
actually posted the code for this exact
solution on my blog:
http://www.rosshemsley.co.uk/2012/08/boost-iterator_adaptors-and-modifying-the-cgal-finite_vertices_iterator/).
But here I am writing the functions to use as a library so I don't want the
user to see the inconsistency.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Applying-a-functor-to-CGAL-iterator-ranges-tp4656663p4656669.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Applying a functor to CGAL iterator ranges., Ross Hemsley, 02/05/2013
- Re: [cgal-discuss] Applying a functor to CGAL iterator ranges., Cody Rose, 02/05/2013
- [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., RossH, 02/05/2013
- Re: [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., Cody Rose, 02/05/2013
- [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., RossH, 02/06/2013
- Re: [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., Cody Rose, 02/05/2013
- [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., RossH, 02/05/2013
- Re: [cgal-discuss] Applying a functor to CGAL iterator ranges., Philipp Moeller, 02/05/2013
- [cgal-discuss] Re: Applying a functor to CGAL iterator ranges., RossH, 02/06/2013
- Re: [cgal-discuss] Applying a functor to CGAL iterator ranges., Cody Rose, 02/05/2013
Archive powered by MHonArc 2.6.18.