mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
sprout/algorithm/fixed/generate.hpp 修正
This commit is contained in:
parent
068656e0b7
commit
f4aba3218c
4 changed files with 84 additions and 262 deletions
|
@ -93,12 +93,7 @@ namespace sprout {
|
|||
void*
|
||||
)
|
||||
{
|
||||
return sprout::fixed::detail::copy_impl(
|
||||
first,
|
||||
last,
|
||||
result,
|
||||
sprout::size(result)
|
||||
);
|
||||
return sprout::fixed::detail::copy_impl(first, last, result, sprout::size(result));
|
||||
}
|
||||
} // namespace detail
|
||||
//
|
||||
|
@ -112,12 +107,7 @@ namespace sprout {
|
|||
)
|
||||
{
|
||||
typedef typename std::iterator_traits<InputIterator>::iterator_category* category;
|
||||
return sprout::fixed::detail::copy(
|
||||
first,
|
||||
last,
|
||||
result,
|
||||
category()
|
||||
);
|
||||
return sprout::fixed::detail::copy(first, last, result, category());
|
||||
}
|
||||
} // namespace fixed
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue