Sprout icon indicating copy to clipboard operation
Sprout copied to clipboard

fit:: 版のアルゴリズムが、ForwardIterator を要求する

Open bolero-MURAKAMI opened this issue 11 years ago • 0 comments

現在の実装の都合上、二度走査する必要があるので ForwardIterator でなければならない。 現状、 ForwardIterator 未満の場合は static_assert で殺している。 InputIterator でよくするためには、fixed:: 版とは別の実装を用意する必要があり面倒。

bolero-MURAKAMI avatar Aug 14 '13 13:08 bolero-MURAKAMI