fix algorithm: bogo_sort, bozo_sort

This commit is contained in:
bolero-MURAKAMI 2013-02-04 01:10:26 +09:00
parent aace49ac65
commit f3b405ad0f
75 changed files with 634 additions and 776 deletions

View file

@ -11,9 +11,9 @@ namespace sprout {
//
// dft_element
//
template<typename Input>
inline SPROUT_CONSTEXPR typename sprout::container_traits<Input>::value_type
dft_element(Input const& input, typename sprout::container_traits<Input>::difference_type i) {
template<typename InputRange>
inline SPROUT_CONSTEXPR typename sprout::container_traits<InputRange>::value_type
dft_element(InputRange const& input, typename sprout::container_traits<InputRange>::difference_type i) {
return sprout::dft_element(sprout::begin(input), sprout::end(input), i);
}
} // namespace range