1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add compost dft, spectrum, etc

This commit is contained in:
bolero-MURAKAMI 2012-12-03 21:48:50 +09:00
parent 6b08a81d3e
commit 24d2a229f3
45 changed files with 1490 additions and 61 deletions

View file

@ -20,7 +20,7 @@ namespace sprout {
class replace_value {
public:
typedef T const& result_type;
typedef T const& first_argument_type;
typedef T const& argument_type;
private:
T old_;
T new_;
@ -61,7 +61,7 @@ namespace sprout {
public:
replaced_range() = default;
replaced_range(replaced_range const&) = default;
explicit SPROUT_CONSTEXPR replaced_range(range_type& range, value_type const& old_value, value_type const& new_value)
SPROUT_CONSTEXPR replaced_range(range_type& range, value_type const& old_value, value_type const& new_value)
: base_type(
iterator(sprout::begin(range), typename iterator::functor_type(old_value, new_value)),
iterator(sprout::end(range), typename iterator::functor_type(old_value, new_value))