From fa2a031b66ba35a69489057414b751e7f0e8b511 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Sat, 24 Feb 2024 16:10:08 +0100 Subject: [PATCH] [[no_unique_address]] to compact Triangulation_ds_full_cell --- Triangulation/include/CGAL/Triangulation_ds_full_cell.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Triangulation/include/CGAL/Triangulation_ds_full_cell.h b/Triangulation/include/CGAL/Triangulation_ds_full_cell.h index 3e84630dbd9e..cb361f856e34 100644 --- a/Triangulation/include/CGAL/Triangulation_ds_full_cell.h +++ b/Triangulation/include/CGAL/Triangulation_ds_full_cell.h @@ -249,7 +249,9 @@ class Triangulation_ds_full_cell const Vertex_handle_array & vertices() const {return combinatorics_.vertices_; } // DATA MEMBERS - Combinatorics combinatorics_; + // With the Itanium ABI, [[no_unique_address]] allows tda_data_ to reuse the + // padding bytes at the end of combinatorics_ when using the mirror policy. + CGAL_NO_UNIQUE_ADDRESS Combinatorics combinatorics_; mutable TDS_data tds_data_; };