Skip to content

Commit

Permalink
[[no_unique_address]] to compact Triangulation_ds_full_cell
Browse files Browse the repository at this point in the history
  • Loading branch information
mglisse committed Feb 24, 2024
1 parent cabb582 commit fa2a031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Triangulation/include/CGAL/Triangulation_ds_full_cell.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
};

Expand Down

0 comments on commit fa2a031

Please sign in to comment.