We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bounded::integer
1 parent ed38356 commit 29c0a13Copy full SHA for 29c0a13
source/containers/algorithms/sort/fixed_size_merge_sort.cpp
@@ -32,7 +32,7 @@ export constexpr auto fixed_size_merge_sort(auto it, auto const size1, auto cons
32
auto first2 = it + size1;
33
auto const last2 = first2 + size2;
34
::containers::sort_exactly_n(first2, size2, compare);
35
- auto buffer = containers::uninitialized_array<std::remove_reference_t<decltype(*it)>, size1.value()>();
+ auto buffer = containers::uninitialized_array<std::remove_reference_t<decltype(*it)>, size1>();
36
auto first1 = buffer.data();
37
auto const last1 = first1 + size1;
38
::containers::sort_exactly_n_relocate(it, size1, first1, compare);
0 commit comments