mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix coding-stype
This commit is contained in:
parent
2012838899
commit
df3023db30
196 changed files with 2510 additions and 3945 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/adjacent_find.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/lvalue_range.hpp>
|
||||
#include <sprout/algorithm/equal_range.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/find.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/find_end.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/find_first_of.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/find_if.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/find_if_not.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/is_heap_until.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/is_sorted_until.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/lower_bound.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/max_element.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/min_element.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/utility/pair.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/minmax_element.hpp>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/utility/pair.hpp>
|
||||
#include <sprout/range/lvalue_iterator.hpp>
|
||||
#include <sprout/algorithm/mismatch.hpp>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/partition_point.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/search.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/search_n.hpp>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/range_return.hpp>
|
||||
#include <sprout/algorithm/upper_bound.hpp>
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/range/lvalue_iterator.hpp>
|
||||
#include <sprout/utility/swap.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace range {
|
||||
|
@ -39,10 +40,14 @@ namespace sprout {
|
|||
{}
|
||||
|
||||
template<typename Iterator2>
|
||||
void swap(range_container<Iterator2>& other) {
|
||||
using std::swap;
|
||||
swap(other.first_, first_);
|
||||
swap(other.last_, last_);
|
||||
void swap(range_container<Iterator2>& other)
|
||||
SPROUT_NOEXCEPT_EXPR(
|
||||
SPROUT_NOEXCEPT_EXPR(sprout::swap(other.first_, first_))
|
||||
&& SPROUT_NOEXCEPT_EXPR(sprout::swap(other.last_, last_))
|
||||
)
|
||||
{
|
||||
sprout::swap(other.first_, first_);
|
||||
sprout::swap(other.last_, last_);
|
||||
}
|
||||
// iterators:
|
||||
SPROUT_CONSTEXPR iterator begin() const {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/range/lvalue_iterator.hpp>
|
||||
#include <sprout/range/lvalue_range.hpp>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue