mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-02 14:04:20 +00:00
fix unfold
fix pair tuple support
This commit is contained in:
parent
b1b7a9fefc
commit
06f1933220
3 changed files with 7 additions and 10 deletions
|
@ -65,9 +65,7 @@ namespace sprout {
|
|||
)
|
||||
{
|
||||
return size > 0
|
||||
? size > 1
|
||||
? sprout::fixed::detail::unfold_impl_1(cont, gen, gen(init), size, init)
|
||||
: sprout::detail::container_complate(cont, init)
|
||||
? sprout::fixed::detail::unfold_impl_1(cont, gen, gen(init), size)
|
||||
: sprout::detail::container_complate(cont)
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue