mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
modify namespace result_of -> results
support C++14 type_traits
This commit is contained in:
parent
d386893a74
commit
bf0c7021cf
350 changed files with 2628 additions and 1912 deletions
|
@ -13,7 +13,7 @@
|
|||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/algorithm/count_if.hpp>
|
||||
#include <sprout/algorithm/fixed/stable_partition.hpp>
|
||||
#include <sprout/algorithm/fit/result_of.hpp>
|
||||
#include <sprout/algorithm/fit/results.hpp>
|
||||
#include <sprout/sub_array/sub_array.hpp>
|
||||
#include <sprout/sub_array/sub.hpp>
|
||||
|
||||
|
@ -21,7 +21,7 @@ namespace sprout {
|
|||
namespace fit {
|
||||
namespace detail {
|
||||
template<typename Container, typename Predicate>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Container>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::algorithm<Container>::type
|
||||
stable_partition_impl(
|
||||
Container const& cont, Predicate pred,
|
||||
typename sprout::container_traits<Container>::difference_type offset
|
||||
|
@ -38,7 +38,7 @@ namespace sprout {
|
|||
// stable_partition
|
||||
//
|
||||
template<typename Container, typename Predicate>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Container>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::algorithm<Container>::type
|
||||
stable_partition(Container const& cont, Predicate pred) {
|
||||
return sprout::fit::detail::stable_partition_impl(cont, pred, sprout::internal_begin_offset(cont));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue