Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] can't create stl containers of type AABB tree in CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] can't create stl containers of type AABB tree in CGAL


Chronological Thread 
  • From: dontcarebear <>
  • To:
  • Subject: Re: [cgal-discuss] can't create stl containers of type AABB tree in CGAL
  • Date: Mon, 17 Mar 2014 09:02:33 -0700 (PDT)

I did try to use static map of AABB tree pointers and it is the cause of the
crashes of course :P
The problem is how can I serialize a AABB Tree (or more problematic a whole
stl map of such...)
I tried
myMap.emplace(
std::piecewise_construct,
std::forward_as_tuple(idCount),
std::forward_as_tuple());

when map is map<int,Tree> myMap;
to construct empty trees in my map but I still get the error:
error C2248: 'CGAL::AABB_tree<AABBTraits>::AABB_tree' : cannot access
private member declared in class 'CGAL::AABB_tree<AABBTraits>'

I am trying to find a workaround but it's tricky.

Thanks for the help!!!!






--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/can-t-create-stl-containers-of-type-AABB-tree-in-CGAL-tp4658973p4658980.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page