Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] problems with custom point class...

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] problems with custom point class...


Chronological Thread 
  • From: "John Yamokoski" <>
  • To:
  • Subject: Re: [cgal-discuss] problems with custom point class...
  • Date: Mon, 9 Jul 2007 10:14:35 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Sb9jLz1m5V59ZRPQfJADHeInR7Usxs0khqCevfgsLJtcu9SebVV1IyB8E3dpX6oR+jUkV7Lg47c8kbWZxkU8MmHJeFX5K5NhuLbfiWfMnDVNdujZDQxVNn1LUgiMENL3ScLDDQgyzWH2r49++QPdhmCrEY9mGSKDU8uw+f37yuo=

Camille,

Yes you are exactly right. Thanks for the reply. I noticed the same problem when I was home working on this problem this weekend. Thanks again for the suggestion.

J.D.

On 7/8/07, <> wrote:

Le Jeu 5 juillet 2007 16:47, John Yamokoski a écrit :
> I get a failed assertion during runtime after I insert one of my points
> into a tree.
> Does this have something to do with me
> dynamically allocating storage inside the point class?

Yes indeed: you forgot to define a copy constructor that copies the data
array.
--
Camille


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page