Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2
- Date: Fri, 18 Apr 2008 13:50:33 +0200
Wolfgang Aigner wrote:
On Friday 18 April 2008 11:48:50 Andreas Fabri wrote:
Wolfgang Aigner wrote:True. It worked for the minimal example, but seems generally to be a bit more complicated. A solution would be a reference counter or a smart pointer i guess.
simple destructor with delete for bbox if not NULL indeed did the job,I am not sure that this is enough. When you copy construct a point
thank you!
the pointer is just copied. So when you destruct the first copy
the shared bbox is deleted.
andreas
wolfgang
Or a copy constructor setting the bbox to NULL. The function
accessing the bbox creates it on the fly if necessary.
andreas
- BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/10/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/10/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Pedro Machado Manhães de Castro, 04/11/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/11/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Pedro Machado Manhães de Castro, 04/11/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Andreas Fabri, 04/17/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Andreas Fabri, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Andreas Fabri, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Andreas Fabri, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/18/2008
- Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2, Wolfgang Aigner, 04/10/2008
Archive powered by MHonArc 2.6.16.