mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +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) の範囲をコピー
|
||||
// copy in range [2 .. 8)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
@ -45,8 +45,8 @@ namespace testspr {
|
|||
array<int, 6>{{3, 4, 5, 6, 7, 8}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲をオーバーする場合
|
||||
// copy in range [2 .. 8)
|
||||
// overrun from output range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
@ -69,8 +69,8 @@ namespace testspr {
|
|||
array<int, 4>{{3, 4, 5, 6}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲の切り出し
|
||||
// copy in range [2 .. 8)
|
||||
// to sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
sprout::begin(arr1) + 2,
|
||||
|
@ -102,7 +102,7 @@ namespace testspr {
|
|||
));
|
||||
}
|
||||
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// copy in range [2 .. 8)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_input(sprout::begin(arr1) + 2),
|
||||
|
@ -126,8 +126,8 @@ namespace testspr {
|
|||
// array<int, 6>{{3, 4, 5, 6, 7, 8}}
|
||||
// ));
|
||||
// }
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲をオーバーする場合
|
||||
// copy in range [2 .. 8)
|
||||
// overrun from output range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_input(sprout::begin(arr1) + 2),
|
||||
|
@ -151,8 +151,8 @@ namespace testspr {
|
|||
// array<int, 4>{{3, 4, 5, 6}}
|
||||
// ));
|
||||
// }
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲の切り出し
|
||||
// copy in range [2 .. 8)
|
||||
// to sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_input(sprout::begin(arr1) + 2),
|
||||
|
@ -185,7 +185,7 @@ namespace testspr {
|
|||
// ));
|
||||
// }
|
||||
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// copy in range [2 .. 8)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_forward(sprout::begin(arr1) + 2),
|
||||
|
@ -208,8 +208,8 @@ namespace testspr {
|
|||
array<int, 6>{{3, 4, 5, 6, 7, 8}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲をオーバーする場合
|
||||
// copy in range [2 .. 8)
|
||||
// overrun from output range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_forward(sprout::begin(arr1) + 2),
|
||||
|
@ -232,8 +232,8 @@ namespace testspr {
|
|||
array<int, 4>{{3, 4, 5, 6}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲の切り出し
|
||||
// copy in range [2 .. 8)
|
||||
// to sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_forward(sprout::begin(arr1) + 2),
|
||||
|
@ -265,7 +265,7 @@ namespace testspr {
|
|||
));
|
||||
}
|
||||
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// copy in range [2 .. 8)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 2),
|
||||
|
@ -288,8 +288,8 @@ namespace testspr {
|
|||
array<int, 6>{{3, 4, 5, 6, 7, 8}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲をオーバーする場合
|
||||
// copy in range [2 .. 8)
|
||||
// overrun from output range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 2),
|
||||
|
@ -312,8 +312,8 @@ namespace testspr {
|
|||
array<int, 4>{{3, 4, 5, 6}}
|
||||
));
|
||||
}
|
||||
// [2 .. 8) の範囲をコピー
|
||||
// 出力範囲の切り出し
|
||||
// copy in range [2 .. 8)
|
||||
// to sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto copied = sprout::copy(
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue