mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +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.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>
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace sprout {
|
|||
namespace fit {
|
||||
namespace detail {
|
||||
template<typename Container, 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_impl(
|
||||
Container const& cont, Generator const& gen, Init const& init,
|
||||
typename sprout::container_traits<Container>::difference_type offset
|
||||
|
@ -37,7 +37,7 @@ namespace sprout {
|
|||
// unfold
|
||||
//
|
||||
template<typename Container, 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(Container const& cont, Generator const& gen, Init const& init) {
|
||||
return sprout::fit::detail::unfold_impl(cont, gen, init, sprout::internal_begin_offset(cont));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue