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:
  • To:
  • Subject: Re: [cgal-discuss] problems with custom point class...
  • Date: Sun, 8 Jul 2007 11:14:55 +0200 (CEST)
  • Importance: Normal


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





Archive powered by MHonArc 2.6.16.

Top of Page