Subject: CGAL users discussion list
List archive
- From: Wolfgang Aigner <>
- To:
- Subject: Re: [cgal-discuss] BUG in Filtered_bbox_circular_kernel_2
- Date: Fri, 18 Apr 2008 12:44:56 +0200
- Organization: IST TU Graz
On Friday 18 April 2008 11:48:50 Andreas Fabri wrote:
> Wolfgang Aigner wrote:
> > simple destructor with delete for bbox if not NULL indeed did the job,
> > thank you!
>
> I am not sure that this is enough. When you copy construct a point
> the pointer is just copied. So when you destruct the first copy
> the shared bbox is deleted.
>
> andreas
>
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.
wolfgang
- 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.