@@ -159,8 +159,8 @@ constexpr auto keys_are_unique(std::array<T, S> const &keys) -> bool {
159
159
}
160
160
161
161
template <typename T, std::size_t S>
162
- constexpr auto with_mask (T const mask,
163
- std::array<T, S> const &keys) -> std::array<T, S> {
162
+ constexpr auto with_mask (T const mask, std::array<T, S> const &keys)
163
+ -> std::array<T, S> {
164
164
std::array<T, S> new_keys{};
165
165
166
166
std::transform (keys.begin (), keys.end (), new_keys.begin (),
@@ -182,9 +182,9 @@ constexpr auto get_keys(std::array<entry<T, V>, S> const &entries) {
182
182
}
183
183
184
184
template <typename T, std::size_t S>
185
- constexpr auto
186
- remove_cheapest_bit (detail:: raw_integral_t <T> mask,
187
- std::array<T, S> keys) -> detail::raw_integral_t <T> {
185
+ constexpr auto remove_cheapest_bit (detail:: raw_integral_t <T> mask,
186
+ std::array<T, S> keys)
187
+ -> detail::raw_integral_t<T> {
188
188
using raw_t = detail::raw_integral_t <T>;
189
189
190
190
auto const t_digits = std::numeric_limits<raw_t >::digits;
@@ -287,8 +287,8 @@ struct pseudo_pext_lookup {
287
287
constexpr static Value default_value = Default::value;
288
288
Storage storage;
289
289
290
- [[nodiscard]] constexpr auto
291
- operator [](key_type key) const -> value_type {
290
+ [[nodiscard]] constexpr auto operator [](key_type key) const
291
+ -> value_type {
292
292
auto const raw_key = detail::as_raw_integral (key);
293
293
auto const e = storage[pext_func (raw_key)];
294
294
@@ -326,8 +326,8 @@ struct pseudo_pext_lookup {
326
326
LookupTable lookup_table;
327
327
Storage storage;
328
328
329
- [[nodiscard]] constexpr auto
330
- operator [](key_type key) const -> value_type {
329
+ [[nodiscard]] constexpr auto operator [](key_type key) const
330
+ -> value_type {
331
331
auto const raw_key = detail::as_raw_integral (key);
332
332
auto i = lookup_table[pext_func (raw_key)];
333
333
0 commit comments