mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-10 14:44:11 +00:00
fix.
This commit is contained in:
parent
93e22a984d
commit
15c3f55ebb
69 changed files with 406 additions and 367 deletions
|
@ -22,7 +22,7 @@ namespace testspr {
|
|||
SPROUT_STATIC_CONSTEXPR auto arr2 = array<int, 10>{{}};
|
||||
SPROUT_STATIC_CONSTEXPR auto arr3 = array<int, 4>{{}};
|
||||
|
||||
// [2 .. 8) の範囲をパーティション (is_odd)
|
||||
// partition in range [2 .. 8) (odd)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto partitioned = sprout::stable_partition_copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
@ -47,8 +47,8 @@ namespace testspr {
|
|||
array<int, 3>{{3, 5, 7}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をパーティション (is_odd)
|
||||
// 出力範囲をオーバーする場合
|
||||
// partition in range [2 .. 8) (odd)
|
||||
// overrun from output range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto partitioned = sprout::stable_partition_copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
@ -73,8 +73,8 @@ namespace testspr {
|
|||
array<int, 3>{{3, 5, 7}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をパーティション (is_odd)
|
||||
// 出力範囲の切り出し
|
||||
// partition in range [2 .. 8) (odd)
|
||||
// to sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto partitioned = sprout::stable_partition_copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue