This commit is contained in:
Anton Kesy
2026-09-13 20:32:28 +02:00
committed by GitHub
parent 2a15f372a5
commit e0f5a84d8d
25 changed files with 26 additions and 26 deletions
+2 -2
View File
@@ -312,7 +312,7 @@ namespace details
// Partition a structure into trivial portions (or single element when not trivial)
template <
typename T, // structure to partition
typename Indices = std::tuple<>, // indices already partitionned
typename Indices = std::tuple<>, // indices already partitioned
typename Current_Indices = std::integer_sequence<size_t>, // indices of current partition
size_t i = 0, // index of the first of remaining elements
size_t offset = 0, // offset of previous element + its size
@@ -381,7 +381,7 @@ struct trivial_bits<
offset + padding + sizeof(boost::pfr::tuple_element_t<i, T>)>::types;
};
// Serialize bits of a structure, partitionned by trivial_bits
// Serialize bits of a structure, partitioned by trivial_bits
template <typename T, typename Bits>
struct serialize_bits;