diff --git a/include/flatmemory/details/types/tuple.hpp b/include/flatmemory/details/types/tuple.hpp index e1326dd..f65774d 100644 --- a/include/flatmemory/details/types/tuple.hpp +++ b/include/flatmemory/details/types/tuple.hpp @@ -59,7 +59,7 @@ namespace flatmemory { private: /** - * Helper function to calculate array that contains alignment requirements + * Helper function to calculate an array that contains header alignment requirements * with additional max overall alignment requirement at the end. */ template @@ -73,6 +73,10 @@ namespace flatmemory return alignments; } + /** + * Helper function to calculate an array that contains data alignment requirements + * with additional max overall alignment requirement at the end. + */ template static consteval std::array calculate_data_alignments(std::index_sequence) { std::array alignments{};