mirror of https://github.com/CGAL/cgal
cosmetic changes
This commit is contained in:
parent
00ebc78c1d
commit
095c27e2be
|
|
@ -916,7 +916,7 @@ protected:
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Outer_ccb> Outer_ccb_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Outer_ccb> Outer_ccb_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Inner_ccb> Inner_ccb_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Inner_ccb> Inner_ccb_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Isolated_vertex> Iso_vert_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Isolated_vertex> Iso_vert_allocator;
|
||||||
#else
|
#else // not CGAL_CXX11
|
||||||
// Vertex allocator.
|
// Vertex allocator.
|
||||||
typedef typename Allocator::template rebind<Vertex> Vertex_alloc_rebind;
|
typedef typename Allocator::template rebind<Vertex> Vertex_alloc_rebind;
|
||||||
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
||||||
|
|
@ -941,7 +941,7 @@ protected:
|
||||||
typedef typename Allocator::template rebind<Isolated_vertex>
|
typedef typename Allocator::template rebind<Isolated_vertex>
|
||||||
Iso_vert_alloc_rebind;
|
Iso_vert_alloc_rebind;
|
||||||
typedef typename Iso_vert_alloc_rebind::other Iso_vert_allocator;
|
typedef typename Iso_vert_alloc_rebind::other Iso_vert_allocator;
|
||||||
#endif
|
#endif // not CGAL_CXX11
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef typename Halfedge_list::size_type Size;
|
typedef typename Halfedge_list::size_type Size;
|
||||||
|
|
|
||||||
|
|
@ -67,10 +67,9 @@ namespace CGAL {
|
||||||
#ifdef CGAL_CXX11
|
#ifdef CGAL_CXX11
|
||||||
typedef std::allocator_traits<Alloc_> Allocator_traits;
|
typedef std::allocator_traits<Alloc_> Allocator_traits;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Dart> Dart_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Dart> Dart_allocator;
|
||||||
#else
|
#else // not CGAL_CXX11
|
||||||
typedef typename Alloc_::template rebind<Dart>::other Dart_allocator;
|
typedef typename Alloc_::template rebind<Dart>::other Dart_allocator;
|
||||||
#endif
|
#endif // not CGAL_CXX11
|
||||||
|
|
||||||
typedef Compact_container<Dart, Dart_allocator> Dart_container;
|
typedef Compact_container<Dart, Dart_allocator> Dart_container;
|
||||||
|
|
||||||
typedef typename Dart_container::iterator Dart_handle;
|
typedef typename Dart_container::iterator Dart_handle;
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ public:
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Vertex> Vertex_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Vertex> Vertex_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Halfedge> Halfedge_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Halfedge> Halfedge_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Face> Face_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Face> Face_allocator;
|
||||||
#else
|
#else // CGAL_CXX11
|
||||||
typedef typename Allocator::template rebind< Vertex> Vertex_alloc_rebind;
|
typedef typename Allocator::template rebind< Vertex> Vertex_alloc_rebind;
|
||||||
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
||||||
typedef typename Allocator::template rebind< Halfedge>
|
typedef typename Allocator::template rebind< Halfedge>
|
||||||
|
|
@ -129,7 +129,7 @@ public:
|
||||||
typedef typename Halfedge_alloc_rebind::other Halfedge_allocator;
|
typedef typename Halfedge_alloc_rebind::other Halfedge_allocator;
|
||||||
typedef typename Allocator::template rebind< Face> Face_alloc_rebind;
|
typedef typename Allocator::template rebind< Face> Face_alloc_rebind;
|
||||||
typedef typename Face_alloc_rebind::other Face_allocator;
|
typedef typename Face_alloc_rebind::other Face_allocator;
|
||||||
#endif
|
#endif // not CGAL_CXX11
|
||||||
|
|
||||||
typedef In_place_list<Vertex,false,Vertex_allocator> Vertex_list;
|
typedef In_place_list<Vertex,false,Vertex_allocator> Vertex_list;
|
||||||
typedef typename Vertex_list::iterator Vertex_handle;
|
typedef typename Vertex_list::iterator Vertex_handle;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ public:
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Vertex> Vertex_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Vertex> Vertex_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Halfedge> Halfedge_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Halfedge> Halfedge_allocator;
|
||||||
typedef typename Allocator_traits::template rebind_alloc<Face> Face_allocator;
|
typedef typename Allocator_traits::template rebind_alloc<Face> Face_allocator;
|
||||||
#else
|
#else // not CGAL_CXX11
|
||||||
typedef typename Allocator::template rebind< Vertex> Vertex_alloc_rebind;
|
typedef typename Allocator::template rebind< Vertex> Vertex_alloc_rebind;
|
||||||
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
typedef typename Vertex_alloc_rebind::other Vertex_allocator;
|
||||||
typedef typename Allocator::template rebind< Halfedge>
|
typedef typename Allocator::template rebind< Halfedge>
|
||||||
|
|
@ -79,7 +79,7 @@ public:
|
||||||
typedef typename Halfedge_alloc_rebind::other Halfedge_allocator;
|
typedef typename Halfedge_alloc_rebind::other Halfedge_allocator;
|
||||||
typedef typename Allocator::template rebind< Face> Face_alloc_rebind;
|
typedef typename Allocator::template rebind< Face> Face_alloc_rebind;
|
||||||
typedef typename Face_alloc_rebind::other Face_allocator;
|
typedef typename Face_alloc_rebind::other Face_allocator;
|
||||||
#endif
|
#endif // not CGAL_CXX11
|
||||||
|
|
||||||
#ifdef CGAL__HALFEDGEDS_USE_INTERNAL_VECTOR
|
#ifdef CGAL__HALFEDGEDS_USE_INTERNAL_VECTOR
|
||||||
typedef internal::vector<Vertex, Vertex_allocator> Vertex_vector;
|
typedef internal::vector<Vertex, Vertex_allocator> Vertex_vector;
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ protected:
|
||||||
# else
|
# else
|
||||||
allocator.destroy( p);
|
allocator.destroy( p);
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else // not CGAL_USE_ALLOCATOR_CONSTRUCT_DESTROY
|
||||||
p->~value_type();
|
p->~value_type();
|
||||||
#endif
|
#endif
|
||||||
allocator.deallocate( p, 1);
|
allocator.deallocate( p, 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue