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
|
@ -20,7 +20,7 @@ namespace testspr {
|
|||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto arr1 = array<int, 10>{{1, 0, 3, 0, 5, 0, 7, 0, 9, 0}};
|
||||
|
||||
// 置換 (0 -> -1)
|
||||
// replace (0 -> -1)
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto replaced = sprout::replace(
|
||||
arr1,
|
||||
|
@ -43,8 +43,8 @@ namespace testspr {
|
|||
array<int, 10>{{1, -1, 3, -1, 5, -1, 7, -1, 9, -1}}
|
||||
));
|
||||
}
|
||||
// 置換 (0 -> -1)
|
||||
// 範囲の切り出し
|
||||
// replace (0 -> -1)
|
||||
// from sub range
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto replaced = sprout::replace(
|
||||
sprout::sub(arr1, 2, 8),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue