modify namespace result_of -> results

support C++14 type_traits
This commit is contained in:
bolero-MURAKAMI 2013-11-20 22:04:11 +09:00
parent d386893a74
commit bf0c7021cf
350 changed files with 2628 additions and 1912 deletions

View file

@ -10,7 +10,7 @@
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/algorithm/fixed/result_of.hpp>
#include <sprout/algorithm/fixed/results.hpp>
#include <sprout/algorithm/fixed/unfold.hpp>
#include <sprout/pit/pit.hpp>
@ -20,13 +20,13 @@ namespace sprout {
// unfold_n
//
template<typename Container, typename Size, typename Generator, typename Init>
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Container>::type
inline SPROUT_CONSTEXPR typename sprout::fixed::results::algorithm<Container>::type
unfold_n(Container const& cont, Size n, Generator const& gen, Init const& init) {
return sprout::fixed::detail::unfold_impl(cont, gen, init, n);
}
template<typename Container, typename Size,typename Generator, typename Init>
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Container>::type
inline SPROUT_CONSTEXPR typename sprout::fixed::results::algorithm<Container>::type
unfold_n(Size n, Generator const& gen, Init const& init) {
return sprout::fixed::unfold_n(sprout::pit<Container>(), n, gen, init);
}