mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +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
|
@ -12,7 +12,7 @@
|
|||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/algorithm/fixed/unfold_n.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>
|
||||
#include HDR_ALGORITHM_MIN_MAX_SSCRISK_CEL_OR_SPROUT
|
||||
|
@ -21,7 +21,7 @@ namespace sprout {
|
|||
namespace fit {
|
||||
namespace detail {
|
||||
template<typename Container, typename Size, typename Generator, typename Init>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Container>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::algorithm<Container>::type
|
||||
unfold_n_impl(
|
||||
Container const& cont, Size n, Generator const& gen, Init const& init,
|
||||
typename sprout::container_traits<Container>::difference_type offset
|
||||
|
@ -38,7 +38,7 @@ namespace sprout {
|
|||
// unfold_n
|
||||
//
|
||||
template<typename Container, typename Size, typename Generator, typename Init>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Container>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::algorithm<Container>::type
|
||||
unfold_n(Container const& cont, Size n, Generator const& gen, Init const& init) {
|
||||
return sprout::fit::detail::unfold_n_impl(cont, n, gen, init, sprout::internal_begin_offset(cont));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue