Subject: CGAL users discussion list
List archive
- From: Yan Garito <>
- To:
- Subject: [cgal-discuss] Templates and combinatorial maps
- Date: Wed, 12 Jun 2019 11:31:04 +0200 (CEST)
Hello,
I'm having some trouble using combinatorial maps alongside templates. Here's the situation: I have a class A that contains a combinatorial map as an attribute and I want to template A by a number type, which is the information I want the edges of the combinatorial map to store. However, this results in compiler errors when trying to iterate over the attributes. Untemplating and hard coding the number type "fixes" the problem.
See the attached files for a minimum example of the problem. My compiler is g++, and my OS is Ubuntu 18. I did not tweak the Makefile generated with the CGAL scripts.
Thank you in advance,
Yan Garito,
First year DIT student at ENS Rennes
Attachment:
Minimal.tar.gz
Description: application/compressed-tar
- [cgal-discuss] Templates and combinatorial maps, Yan Garito, 06/12/2019
- Re: [cgal-discuss] Templates and combinatorial maps, Guillaume Damiand, 06/13/2019
Archive powered by MHonArc 2.6.18.