fix unfold

fix pair tuple support
This commit is contained in:
bolero-MURAKAMI 2012-09-28 16:05:09 +09:00
parent b1b7a9fefc
commit 06f1933220
3 changed files with 7 additions and 10 deletions

View file

@ -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)
;
}