Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Problems updating Poin_d's memebers

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Problems updating Poin_d's memebers


Chronological Thread 
  • From: Philipp Moeller <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Problems updating Poin_d's memebers
  • Date: Thu, 03 May 2012 22:43:37 +0200
  • Organization: GeometryFactory

luchia
<>
writes:

> Thanks for your answer Philipp,
>
> I'm using Visual c++ 2010.

I can confirm the same on a recent gcc. Looks like a bug in
Lazy_exact_nt to me. Point_d::operator[] returns by value as documented
but assignment does work for some unknown reason.

If operator[] should really return by value is another issue. It is
certainly necessary for a Homogeneous kernel, but not a Cartesian. Seems
wasteful in case of a ref counted NT representation.



Archive powered by MHonArc 2.6.16.

Top of Page