Reapply "[libc++] Add test_iterators.h to the modulemap (#181351)"
Another test committed recently was missing an include. This reverts commit ab88d9af5371ef62a636fc780c88cf6d3487c584.
This commit is contained in:
parent
23374f95ed
commit
3519aaecef
@ -469,6 +469,7 @@ module std [system] {
|
||||
module mismatch {
|
||||
header "__algorithm/mismatch.h"
|
||||
export std.utility.pair // return type
|
||||
export std.iterator.aliasing_iterator
|
||||
}
|
||||
module move_backward { header "__algorithm/move_backward.h" }
|
||||
module move { header "__algorithm/move.h" }
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
#include "../../GenerateInput.h"
|
||||
|
||||
namespace support {
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
// template<class I>
|
||||
// concept __nothrow_forward_iterator;
|
||||
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
// template<class I>
|
||||
// concept __nothrow_input_iterator;
|
||||
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
#include <filesystem>
|
||||
#include <type_traits>
|
||||
#include <cassert>
|
||||
#include <utility>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
// Arithmetic operators
|
||||
|
||||
#include <__iterator/bounded_iter.h>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
//
|
||||
// Comparison operators
|
||||
|
||||
#include <cassert>
|
||||
#include <compare>
|
||||
#include <concepts>
|
||||
#include <__iterator/bounded_iter.h>
|
||||
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
// operator-(__capacity_aware_iterator, __capacity_aware_iterator)
|
||||
|
||||
#include <__iterator/capacity_aware_iterator.h>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
// operator<=>
|
||||
|
||||
#include <__iterator/capacity_aware_iterator.h>
|
||||
#include <cassert>
|
||||
#include <compare>
|
||||
#include <concepts>
|
||||
#include <iterator>
|
||||
|
||||
@ -18,7 +18,9 @@
|
||||
// operator->();
|
||||
|
||||
#include <__iterator/capacity_aware_iterator.h>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
// ITER_TRAITS(I) denotes iterator_traits<I>.
|
||||
|
||||
#include <__iterator/concepts.h>
|
||||
#include <iterator>
|
||||
#include <type_traits>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -15,6 +15,10 @@ TEST_CLANG_DIAGNOSTIC_IGNORED("-Wprivate-header")
|
||||
#include <__iterator/iterator_with_data.h>
|
||||
TEST_DIAGNOSTIC_POP
|
||||
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
static_assert(std::forward_iterator<std::__iterator_with_data<forward_iterator<int*>, int>>);
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
// gcc 15 does not seem to recognize the __product_iterator_traits specializations
|
||||
// UNSUPPORTED: gcc
|
||||
|
||||
#include <cassert>
|
||||
#include <flat_map>
|
||||
#include <ranges>
|
||||
#include <type_traits>
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "sized_allocator.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "sized_allocator.h"
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
template <class In, class Out = In, class Count = std::size_t>
|
||||
concept HasCopyNIt = requires(In in, Count count, Out out) { std::ranges::copy_n(in, count, out); };
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <string>
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <string>
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
// ForwardIterator2 result);
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -13,9 +13,10 @@
|
||||
// is_partitioned(InputIterator first, InputIterator last, Predicate pred);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cstddef>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -24,12 +24,14 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
struct UnaryPred { bool operator()(int) const; };
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <random>
|
||||
|
||||
@ -17,10 +17,12 @@
|
||||
// UniformRandomNumberGenerator &&g);
|
||||
|
||||
#include <algorithm>
|
||||
#include <random>
|
||||
#include <type_traits>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <random>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <random>
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -15,8 +15,9 @@
|
||||
// remove_copy_if(InIter first, InIter last, OutIter result, Pred pred);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,8 +17,9 @@
|
||||
// replace_copy_if(InIter first, InIter last, OutIter result, Pred pred, const T& new_value);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -16,8 +16,9 @@
|
||||
// replace_if(Iter first, Iter last, Pred pred, const T& new_value);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <ranges>
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -26,8 +26,9 @@
|
||||
#include <vector>
|
||||
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "test_iterators.h"
|
||||
#include "MoveOnly.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct InvalidDifferenceT {};
|
||||
|
||||
|
||||
@ -25,9 +25,10 @@
|
||||
#include <vector>
|
||||
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "MoveOnly.h"
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
#include "MoveOnly.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct InvalidDifferenceT {};
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -21,11 +21,13 @@
|
||||
// BinaryOperation binary_op);
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(transform);
|
||||
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
// We can't test the constraint on the execution policy, because that would conflict with the binary
|
||||
// transform algorithm that doesn't take an execution policy, which is not constrained at all.
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "MoveOnly.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -14,8 +14,9 @@
|
||||
// adjacent_find(Iter first, Iter last, Pred pred);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(all_of);
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(any_of);
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "boolean_testable.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct NotEqualityComparable {};
|
||||
|
||||
|
||||
@ -14,8 +14,9 @@
|
||||
// count_if(Iter first, Iter last, Pred pred);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -20,11 +20,13 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(count);
|
||||
|
||||
|
||||
@ -20,11 +20,13 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(count_if);
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
#include <ranges>
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -21,10 +21,10 @@
|
||||
// constexpr bool // constexpr after c++17
|
||||
// equal(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred);
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -42,6 +42,7 @@
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "test_macros.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
template <class It1, class It2>
|
||||
struct Test {
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <ranges>
|
||||
|
||||
#include "almost_satisfies_types.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -15,8 +15,9 @@
|
||||
// find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred);
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <ranges>
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@
|
||||
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct NotEqualityComparable {};
|
||||
|
||||
|
||||
@ -28,7 +28,9 @@
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
@ -12,8 +12,9 @@
|
||||
// constexpr InputIterator find_if(InputIterator first, InputIterator last, Predicate pred); // constexpr since C++20
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(find);
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(find_if);
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(find_if_not);
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
@ -36,6 +37,7 @@
|
||||
#include "almost_satisfies_types.h"
|
||||
#include "sized_allocator.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct NotEqualityComparable {};
|
||||
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
#include <ranges>
|
||||
#include <type_traits>
|
||||
|
||||
#include "test_iterators.h"
|
||||
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
#include "type_algorithms.h"
|
||||
|
||||
struct for_each_test {
|
||||
TEST_CONSTEXPR for_each_test(int c) : count(c) {}
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_execution_policies.h"
|
||||
#include "test_iterators.h"
|
||||
#include <type_algorithms.h>
|
||||
|
||||
EXECUTION_POLICY_SFINAE_TEST(for_each);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user