fit:: 版のアルゴリズムが、ForwardIterator を要求する
bolero-MURAKAMI opened this issue · comments
現在の実装の都合上、二度走査する必要があるので ForwardIterator でなければならない。
現状、 ForwardIterator 未満の場合は static_assert で殺している。
InputIterator でよくするためには、fixed:: 版とは別の実装を用意する必要があり面倒。
C++11/14 constexpr based Containers, Algorithms, Random numbers, Parsing, Ray tracing, Synthesizer, and others.
bolero-MURAKAMI opened this issue · comments
現在の実装の都合上、二度走査する必要があるので ForwardIterator でなければならない。
現状、 ForwardIterator 未満の場合は static_assert で殺している。
InputIterator でよくするためには、fixed:: 版とは別の実装を用意する必要があり面倒。