mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
fix algorithm: bogo_sort, bozo_sort
This commit is contained in:
parent
aace49ac65
commit
f3b405ad0f
75 changed files with 634 additions and 776 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue