Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Perfect forwarding of Delaunay_Triangulations

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Perfect forwarding of Delaunay_Triangulations


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Perfect forwarding of Delaunay_Triangulations
  • Date: Fri, 21 Aug 2015 06:38:07 +0200 (CEST)

On Thu, 20 Aug 2015, Adam Getchell wrote:

I’m looking to create a perfect forwarding constructor which takes a
Delaunay_Triangulation_3 as an argument.

As I understand it, that would require Delaunay_Triangulation_3 to have a
move constructor and move assignment operator.

Are these defined?

I see the copy constructor defined on line 243 of
Triangulation_3/include/CGAL/Delaunay_triangulation_3.h. Would (near there)
be an appropriate place to add a move constructor, if one does not exist?

https://github.com/CGAL/cgal/issues/34
It may be easier to remove the copy constructor.
Then you still need to handle the base classes of course.

Should I use https://github.com/CGAL/cgal or
https://github.com/CGAL/cgal-public-dev?

First one.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page