mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-10 14:44:11 +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
|
@ -11,7 +11,7 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/algorithm/fixed/result_of.hpp>
|
||||
#include <sprout/algorithm/fixed/results.hpp>
|
||||
#include <sprout/algorithm/fixed/rotate_copy.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
@ -21,7 +21,7 @@ namespace sprout {
|
|||
// rotate_copy
|
||||
//
|
||||
template<typename ForwardRange, typename Result>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::results::algorithm<Result>::type
|
||||
rotate_copy(
|
||||
ForwardRange const& rng, typename sprout::container_traits<ForwardRange>::const_iterator middle,
|
||||
Result const& result
|
||||
|
@ -31,7 +31,7 @@ namespace sprout {
|
|||
}
|
||||
|
||||
template<typename Result, typename ForwardRange>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::results::algorithm<Result>::type
|
||||
rotate_copy(
|
||||
ForwardRange const& rng, typename sprout::container_traits<ForwardRange>::const_iterator middle
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue