Subject: CGAL users discussion list
List archive
- From: Samuel Hornus <>
- To:
- Subject: Re: [cgal-discuss] const_iterator begin() in Compact_container
- Date: Fri, 11 Jan 2008 18:06:46 +0100
- Organization: INRIA
On Fri, 11 Jan 2008 17:29:45 +0100
Samuel Hornus
<>
wrote:
> So: Is the Compact_container.h wrong around line 194 ?
> If not, then I don't really know what to do.
I know what to do now: I use const iterators all over the place
in my const methods:
typedef typename Compact_container<Simplex>::const_iterator
Simplex_const_iterator;
And I noticed that, for example, Triangulation_data_structure_3.h
does some const_cast to avoid the problem that I had. :-(
My code compiles now, but I'm not sure "what's the right thing".
Sorry for unraveling my thought publicly. If you have comments and
suggestions however, I welcome them :)
Sam
- const_iterator begin() in Compact_container, Samuel Hornus, 01/11/2008
- Re: [cgal-discuss] const_iterator begin() in Compact_container, Samuel Hornus, 01/11/2008
Archive powered by MHonArc 2.6.16.