Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Allocate vector of kdtrees

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Allocate vector of kdtrees


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Allocate vector of kdtrees
  • Date: Wed, 26 Oct 2011 14:27:21 +0200 (CEST)

On Wed, 26 Oct 2011, Zohar wrote:

Yes, I can manage with pointers. But I'm curios, on one hand there's no
problem with the assignment operator, on the other hand the copy constructor
is blocked. Can't you simply execute the assignment operator from the copy
c'tor?

That's not the issue. There is already a copy constructor, and the author of the class deliberately forbade you from using it.

I don't know the class well enough to say why that is, and if maybe not forbidding assignments was an oversight. Maybe someone else on the list can tell...

--
Marc Glisse



Archive powered by MHonArc 2.6.16.

Top of Page