mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix.
This commit is contained in:
parent
93e22a984d
commit
15c3f55ebb
69 changed files with 406 additions and 367 deletions
|
@ -20,7 +20,7 @@ namespace testspr {
|
|||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto arr1 = array<int, 10>{{10, 8, 9, 6, 4, 5, 3, 1, 2, 7}};
|
||||
|
||||
// ヒープにプッシュ
|
||||
// push heap
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto heap = sprout::push_heap(
|
||||
arr1
|
||||
|
@ -39,8 +39,8 @@ namespace testspr {
|
|||
array<int, 10>{{10, 8, 9, 6, 7, 5, 3, 1, 2, 4}}
|
||||
));
|
||||
}
|
||||
// ヒープにプッシュ
|
||||
// 範囲の切り出し
|
||||
// push heap
|
||||
// from sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto heap = sprout::push_heap(
|
||||
sprout::sub(arr1, 2, 10)
|
||||
|
@ -71,7 +71,7 @@ namespace testspr {
|
|||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto arr1 = array<int, 10>{{10, 8, 9, 6, 4, 5, 3, 1, 2, 7}};
|
||||
|
||||
// ヒープにプッシュ
|
||||
// push heap
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto heap = sprout::push_heap(
|
||||
arr1,
|
||||
|
@ -92,8 +92,8 @@ namespace testspr {
|
|||
array<int, 10>{{10, 8, 9, 6, 7, 5, 3, 1, 2, 4}}
|
||||
));
|
||||
}
|
||||
// ヒープにプッシュ
|
||||
// 範囲の切り出し
|
||||
// push heap
|
||||
// from sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto heap = sprout::push_heap(
|
||||
sprout::sub(arr1, 2, 10),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue