Subject: CGAL users discussion list
List archive
- From: jmt <>
- To:
- Subject: [cgal-discuss] A question on circulators
- Date: Thu, 8 Nov 2012 12:36:52 +0100
- Organization: dxdydz.net
Hello,
I have a polygon for which I define a circulator :
Polygon::Edge_const_circulator circulator;
When using this circulator to loop over the polygon, the following code
wont't
compile :
std::cout << "Edge, from " << circulator->source() ...
while this code will :
std::cout << "Edge, from " << (*circulator).source() ...
Is there anything special in circulators that prevents the use
of the -> operator ?
gcc version 4.7.2 (Debian 4.7.2-4)
CGAL_VERSION 4.0.2
jmt
--
http://www.dxdydz.net
Jean-Marie Thomas
Informatique scientifique et technique
- [cgal-discuss] A question on circulators, jmt, 11/08/2012
- Re: [cgal-discuss] A question on circulators, Philipp Moeller, 11/08/2012
Archive powered by MHonArc 2.6.18.