fix index_range implementation

This commit is contained in:
bolero-MURAKAMI 2013-03-31 15:14:10 +09:00
parent 331aaa3559
commit 049d4592c2
78 changed files with 178 additions and 225 deletions

View file

@ -45,7 +45,7 @@ namespace sprout {
return implicit_conversion_impl(
holder_.get().elems,
NS_SSCRISK_CEL_OR_SPROUT::min(N2, holder_.get().len),
sprout::index_range<0, NS_SSCRISK_CEL_OR_SPROUT::min(N2, N)>::make()
sprout::make_index_tuple<(N < N2 ? N : N2)>::make()
);
}
};