Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 3836) sorted by relevance

12345678910>>...154

/llvm-project/libcxx/test/std/containers/container.adaptors/container.adaptors.format/
H A Dformat.functions.tests.h31 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default()
33 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{}"), input); in test_char_default()
34 check(SV("['H', 'e', 'l', 'l', 'o']^42"), SV("{}^42"), input); in test_char_default()
35 check(SV("['H', 'e', 'l', 'l', 'o']^42"), SV("{:}^42"), input); in test_char_default()
38 check(SV("[H, e, l, l, o]"), SV("{::}"), input); in test_char_default()
39 check(SV("[H, e, l, l, o]"), SV("{::<}"), input); in test_char_default()
41 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::?}"), input); in test_char_default()
42 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::<?}"), input); in test_char_default()
47 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:30}"), input); in test_char_default()
48 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<30}"), input); in test_char_default()
30 test_char_default(TestFunction check,ExceptionTest check_exception,auto && input) test_char_default() argument
139 test_char_string(TestFunction check,ExceptionTest check_exception,auto && input) test_char_string() argument
192 test_char_escaped_string(TestFunction check,ExceptionTest check_exception,auto && input) test_char_escaped_string() argument
308 test_bool(TestFunction check,ExceptionTest check_exception,auto && input) test_bool() argument
423 test_int(TestFunction check,ExceptionTest check_exception,auto && input) test_int() argument
532 test_floating_point(TestFunction check,ExceptionTest check_exception,auto && input) test_floating_point() argument
669 test_pointer(TestFunction check,ExceptionTest check_exception,auto && input) test_pointer() argument
778 test_string(TestFunction check,ExceptionTest check_exception,auto && input) test_string() argument
889 test_status(TestFunction check,ExceptionTest check_exception,auto && input) test_status() argument
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtset/
H A Dformat.functions.tests.h30 std::set input{CharT('a'), CharT('c'), CharT('b')}; // input not sorted. in test_char_default()
33 check(SV("{'a', 'b', 'c'}"), SV("{}"), input); in test_char_default()
34 check(SV("{'a', 'b', 'c'}^42"), SV("{}^42"), input); in test_char_default()
35 check(SV("{'a', 'b', 'c'}^42"), SV("{:}^42"), input); in test_char_default()
37 check(SV("{a, b, c}"), SV("{::}"), input); in test_char_default()
38 check(SV("{a, b, c}"), SV("{::<}"), input); in test_char_default()
40 check(SV("{'a', 'b', 'c'}"), SV("{::?}"), input); in test_char_default()
41 check(SV("{'a', 'b', 'c'}"), SV("{::<?}"), input); in test_char_default()
46 check(SV("{'a', 'b', 'c'} "), SV("{:20}"), input); in test_char_default()
604 test_int(TestFunction check,ExceptionTest check_exception,auto && input) test_int() argument
712 test_floating_point(TestFunction check,ExceptionTest check_exception,auto && input) test_floating_point() argument
849 test_pointer(TestFunction check,ExceptionTest check_exception,auto && input) test_pointer() argument
958 test_string(TestFunction check,ExceptionTest check_exception,auto && input) test_string() argument
1138 test_pair_tuple(TestFunction check,ExceptionTest check_exception,auto && input) test_pair_tuple() argument
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtmap/
H A Dformat.functions.tests.h30 std::map<CharT, CharT> input{{CharT('a'), CharT('A')}, {CharT('c'), CharT('C')}, {CharT('b'), CharT('B')}}; in test_char()
32 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}"), SV("{}"), input); in test_char()
33 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}^42"), SV("{}^42"), input); in test_char()
34 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}^42"), SV("{:}^42"), input); in test_char()
39 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'} "), SV("{:35}"), input); in test_char()
40 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}*****"), SV("{:*<35}"), input); in test_char()
41 check(SV("__{'a': 'A', 'b': 'B', 'c': 'C'}___"), SV("{:_^35}"), input); in test_char()
42 check(SV("#####{'a': 'A', 'b': 'B', 'c': 'C'}"), SV("{:#>35}"), input); in test_char()
44 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'} "), SV("{:{}}"), input, 35); in test_char()
45 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}*****"), SV("{:*<{}}"), input, 3 in test_char()
346 test_int(TestFunction check,ExceptionTest check_exception,auto && input) test_int() argument
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtstr/
H A Dformat.functions.tests.h61 void test_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_string()
62 check(SV("hello"), SV("{}"), input); in test_string()
63 check(SV("hello^42"), SV("{}^42"), input); in test_string()
64 check(SV("hello^42"), SV("{:}^42"), input); in test_string()
67 check(SV("hello "), SV("{:10}"), input); in test_string()
68 check(SV("hello*****"), SV("{:*<10}"), input); in test_string()
69 check(SV("__hello___"), SV("{:_^10}"), input); in test_string()
70 check(SV(":::::hello"), SV("{::>10}"), input); in test_string()
72 check(SV("hello "), SV("{:{}}"), input, 10); in test_string()
73 check(SV("hello*****"), SV("{:*<{}}"), input, 1 in test_string()
60 test_string(TestFunction check,ExceptionTest check_exception,auto && input) test_string() argument
108 std::basic_string<CharT> input = STR("hello"); test_string() local
120 test_range_string(TestFunction check,ExceptionTest check_exception,auto && input) test_range_string() argument
250 test_debug_string(TestFunction check,ExceptionTest check_exception,auto && input) test_debug_string() argument
298 std::basic_string<CharT> input = STR("hello"); test_debug_string() local
313 test_range_debug_string(TestFunction check,ExceptionTest check_exception,auto && input) test_range_debug_string() argument
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.tuple/
H A Dformat.functions.tests.h32 void test_tuple_or_pair_int_int(TestFunction check, ExceptionTest check_exception, TupleOrPair&& input) {
33 check(SV("(42, 99)"), SV("{}"), input);
34 check(SV("(42, 99)^42"), SV("{}^42"), input);
35 check(SV("(42, 99)^42"), SV("{:}^42"), input);
38 check(SV("(42, 99) "), SV("{:13}"), input);
39 check(SV("(42, 99)*****"), SV("{:*<13}"), input);
40 check(SV("__(42, 99)___"), SV("{:_^13}"), input);
41 check(SV("#####(42, 99)"), SV("{:#>13}"), input);
43 check(SV("(42, 99) "), SV("{:{}}"), input, 13);
44 check(SV("(42, 99)*****"), SV("{:*<{}}"), input, 1
[all...]
/llvm-project/libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/
H A Dformat.functions.tests.h18 void format_test_vector_bool(TestFunction check, ExceptionTest check_exception, auto&& input) { in format_test_vector_bool()
19 check(SV("[true, true, false]"), SV("{}"), input); in format_test_vector_bool()
20 check(SV("[true, true, false]^42"), SV("{}^42"), input); in format_test_vector_bool()
21 check(SV("[true, true, false]^42"), SV("{:}^42"), input); in format_test_vector_bool()
26 check(SV("[true, true, false] "), SV("{:24}"), input); in format_test_vector_bool()
27 check(SV("[true, true, false]*****"), SV("{:*<24}"), input); in format_test_vector_bool()
28 check(SV("__[true, true, false]___"), SV("{:_^24}"), input); in format_test_vector_bool()
29 check(SV("#####[true, true, false]"), SV("{:#>24}"), input); in format_test_vector_bool()
31 check(SV("[true, true, false] "), SV("{:{}}"), input, 24); in format_test_vector_bool()
32 check(SV("[true, true, false]*****"), SV("{:*<{}}"), input, 2 in format_test_vector_bool()
17 format_test_vector_bool(TestFunction check,ExceptionTest check_exception,auto && input) format_test_vector_bool() argument
[all...]
/llvm-project/llvm/test/tools/llvm-profdata/
H A Dinvalid-profdata.test1 RUN: echo ":ir" > %t.input
2 RUN: echo "_ZN6Thread5StartEv" >> %t.input
3 RUN: echo "# Func Hash:" >> %t.input
4 RUN: echo "288793635542036872" >> %t.input
5 RUN: echo "# Num Counters:" >> %t.input
6 RUN: echo "3" >> %t.input
7 RUN: echo "# Counter Values:" >> %t.input
8 RUN: echo "0" >> %t.input
9 RUN: echo "12" >> %t.input
10 RUN: echo "12" >> %t.input
[all …]
/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
H A Dformat.functions.tests.h22 std::thread::id input{}; in format_tests()
26 check(SV("0"), SV("{}"), input); in format_tests()
27 check(SV("0^42"), SV("{}^42"), input); in format_tests()
28 check(SV("0^42"), SV("{:}^42"), input); in format_tests()
31 check(SV(" 0"), SV("{:5}"), input); in format_tests()
32 check(SV("0****"), SV("{:*<5}"), input); in format_tests()
33 check(SV("__0__"), SV("{:_^5}"), input); in format_tests()
34 check(SV("::::0"), SV("{::>5}"), input); // This is not a range, so : is allowed as fill character. in format_tests()
36 check(SV(" 0"), SV("{:{}}"), input, 5); in format_tests()
37 check(SV("0****"), SV("{:*<{}}"), input, in format_tests()
[all...]
/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
H A Dreplace_with_range.pass.cpp37 // Not an input range. in test_constraints_replace_with_range()
51 StrBuffer input;
59 // - input range: empty / one-element / middle-sized / longer than SSO / longer than the current string capacity.
64 .initial = "", .from = 0, .to = 0, .input = "", .expected = ""};
67 .initial = "", .from = 0, .to = 0, .input = "a", .expected = "a"};
70 .initial = "", .from = 0, .to = 0, .input = "aeiou", .expected = "aeiou"};
76 .input = "abcdefghijklmnopqrstuvwxyz0123456789",
82 .initial = "B", .from = 0, .to = 0, .input = "", .expected = "B"};
85 .initial = "B", .from = 0, .to = 0, .input = "a", .expected = "aB"};
88 .initial = "B", .from = 0, .to = 0, .input
47 StrBuffer input; global() member
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.formatter/
H A Dformat.functions.tests.h37 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default()
39 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{}"), input); in test_char_default()
40 check(SV("['H', 'e', 'l', 'l', 'o']^42"), SV("{}^42"), input); in test_char_default()
41 check(SV("['H', 'e', 'l', 'l', 'o']^42"), SV("{:}^42"), input); in test_char_default()
44 check(SV("[H, e, l, l, o]"), SV("{::}"), input); in test_char_default()
45 check(SV("[H, e, l, l, o]"), SV("{::<}"), input); in test_char_default()
47 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::?}"), input); in test_char_default()
48 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::<?}"), input); in test_char_default()
53 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:30}"), input); in test_char_default()
54 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<30}"), input); in test_char_default()
34 test_char_default(TestFunction check,ExceptionTest check_exception,auto && input) test_char_default() argument
143 test_char_string(TestFunction check,ExceptionTest check_exception,auto && input) test_char_string() argument
196 test_char_escaped_string(TestFunction check,ExceptionTest check_exception,auto && input) test_char_escaped_string() argument
406 test_int(TestFunction check,ExceptionTest check_exception,auto && input) test_int() argument
516 test_floating_point(TestFunction check,ExceptionTest check_exception,auto && input) test_int() argument
654 test_pointer(TestFunction check,ExceptionTest check_exception,auto && input) test_floating_point() argument
762 test_string(TestFunction check,ExceptionTest check_exception,auto && input) test_pointer() argument
943 test_pair_tuple(TestFunction check,ExceptionTest check_exception,auto && input) test_pair_tuple() argument
[all...]
/llvm-project/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp18 void test(TestEnum input) { in test() argument
19 …printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has unde… in test()
22 printf("%hd", input); // no-warning in test()
26 printf("%d", input); // no-warning in test()
29 …printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has… in test()
36 void testLong(LongEnum input) { in testLong() argument
37 …printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument ha… in testLong()
40 printf("%lu", input); in testLong()
48 void testUnderlyingTypedef(ShortEnum input) { in testUnderlyingTypedef() argument
49 …printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has unde… in testUnderlyingTypedef()
[all …]
H A Darm_inline_asm_constraints.c13 : [ constant ] "j"(-1), [ input ] "r"(i) in test_j()
21 : [ constant ] "j"(0), [ input ] "r"(i) in test_j()
29 : [ constant ] "j"(65535), [ input ] "r"(i) in test_j()
37 : [ constant ] "j"(65536), [ input ] "r"(i) in test_j()
53 : [ constant ] "I"(-1), [ input ] "r"(i) in test_I()
58 : [ constant ] "I"(0), [ input ] "r"(i) in test_I()
63 : [ constant ] "I"(255), [ input ] "r"(i) in test_I()
68 : [ constant ] "I"(256), [ input ] "r"(i) in test_I()
80 : [ constant ] "J"(-4096), [ input ] "r"(i) in test_J()
89 : [ constant ] "J"(-4095), [ input ] "r"(i) in test_J()
[all …]
/llvm-project/libcxx/test/libcxx/localization/locale.categories/
H A D__scan_keyword.pass.cpp48 const char input[] = "a"; in main() local
49 const char* in = input; in main()
52 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
56 assert(in == input+1); in main()
60 const char input[] = "abc"; in main() local
61 const char* in = input; in main()
64 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
68 assert(in == input+2); in main()
72 const char input[] = "abb"; in main() local
73 const char* in = input; in main()
[all …]
/llvm-project/llvm/lib/Support/
H A DVersionTuple.cpp41 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() argument
43 if (input.empty()) in parseInt()
46 char next = input[0]; in parseInt()
47 input = input.substr(1); in parseInt()
52 while (!input.empty()) { in parseInt()
53 next = input[0]; in parseInt()
56 input = input.substr(1); in parseInt()
63 bool VersionTuple::tryParse(StringRef input) { in tryParse() argument
67 if (parseInt(input, major)) in tryParse()
70 if (input.empty()) { in tryParse()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/
H A Dmake_heap.pass.cpp36 T input[] = {3, 4, 1, 2, 5}; in test() local
37 std::make_heap(Iter(input), Iter(input + 5)); in test()
38 assert(std::is_heap(input, input + 5)); in test()
39 std::pop_heap(input, input + 5); assert(input[4] == 5); in test()
40 std::pop_heap(input, input + 4); assert(input[3] == 4); in test()
41 std::pop_heap(input, input + 3); assert(input[2] == 3); in test()
42 std::pop_heap(input, input + 2); assert(input[1] == 2); in test()
43 std::pop_heap(input, input + 1); assert(input[0] == 1); in test()
H A Dmake_heap_comp.pass.cpp37 T input[] = {3, 4, 1, 2, 5}; in test() local
38 std::make_heap(Iter(input), Iter(input + 5), std::greater<T>()); in test()
39 assert(std::is_heap(input, input + 5, std::greater<T>())); in test()
40 std::pop_heap(input, input + 5, std::greater<T>()); assert(input[4] == 1); in test()
41 std::pop_heap(input, input + 4, std::greater<T>()); assert(input[3] == 2); in test()
42 std::pop_heap(input, input + 3, std::greater<T>()); assert(input[2] == 3); in test()
43 std::pop_heap(input, input + 2, std::greater<T>()); assert(input[1] == 4); in test()
44 std::pop_heap(input, input + 1, std::greater<T>()); assert(input[0] == 5); in test()
/llvm-project/mlir/test/IR/
H A Dtest-builtin-distinct-attrs.mlir36 // CHECK: "test.op"() {distinct.input = #[[DIST0]], distinct.output = #[[DIST1]]}
37 "test.op"() {distinct.input = #distinct} : () -> ()
38 // CHECK: "test.op"() {distinct.input = #[[DIST2]], distinct.output = #[[DIST3]]}
39 "test.op"() {distinct.input = #distinct1} : () -> ()
40 // CHECK: "test.op"() {distinct.input = #[[DIST4]], distinct.output = #[[DIST5]]}
41 "test.op"() {distinct.input = #distinct2} : () -> ()
42 // CHECK: "test.op"() {distinct.input = #[[DIST6]], distinct.output = #[[DIST7]]}
43 "test.op"() {distinct.input = #distinct3} : () -> ()
47 // CHECK: "test.op"() {distinct.input = #[[DIST0]], distinct.output = #[[DIST8]]}
48 "test.op"() {distinct.input = #distinct} : () -> ()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/
H A Dnth_element.pass.cpp45 T input[] = {3,1,4,1,5,9,2}; in test() local
46 std::nth_element(Iter(input), Iter(input+4), Iter(input+7)); in test()
47 assert(input[4] == 4); in test()
48 assert(input[5] + input[6] == 5 + 9); in test()
52 T input[] = {0, 1, 2, 3, 4, 5, 7, 6}; in test() local
53 std::nth_element(Iter(input), Iter(input + 6), Iter(input + 8)); in test()
54 assert(input[6] == 6); in test()
55 assert(input[7] == 7); in test()
59 T input[] = {1, 0, 2, 3, 4, 5, 6, 7}; in test() local
60 std::nth_element(Iter(input), Iter(input + 1), Iter(input + 8)); in test()
[all …]
H A Dnth_element_comp.pass.cpp46 T input[] = {3,1,4,1,5,9,2}; in test() local
47 std::nth_element(Iter(input), Iter(input+4), Iter(input+7), std::greater<T>()); in test()
48 assert(input[4] == 2); in test()
49 assert(input[5] + input[6] == 1 + 1); in test()
53 T input[] = {0, 1, 2, 3, 4, 5, 7, 6}; in test() local
54 std::nth_element(Iter(input), Iter(input + 6), Iter(input + 8), std::greater<T>()); in test()
55 assert(input[6] == 1); in test()
56 assert(input[7] == 0); in test()
60 T input[] = {1, 0, 2, 3, 4, 5, 6, 7}; in test() local
61 std::nth_element(Iter(input), Iter(input + 1), Iter(input + 8), std::greater<T>()); in test()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/
H A Dpush_heap.pass.cpp36 T input[] = {1, 3, 2, 5, 4}; in test() local
37 std::push_heap(Iter(input), Iter(input + 1)); assert(input[0] == 1); in test()
38 std::push_heap(Iter(input), Iter(input + 2)); assert(input[0] == 3); in test()
39 std::push_heap(Iter(input), Iter(input + 3)); assert(input[0] == 3); in test()
40 std::push_heap(Iter(input), Iter(input + 4)); assert(input[0] == 5); in test()
41 std::push_heap(Iter(input), Iter(input + 5)); assert(input[0] == 5); in test()
42 assert(std::is_heap(input, input + 5)); in test()
H A Dpush_heap_comp.pass.cpp36 T input[] = {5, 3, 4, 1, 2}; in test() local
37 std::push_heap(Iter(input), Iter(input + 1), std::greater<T>()); assert(input[0] == 5); in test()
38 std::push_heap(Iter(input), Iter(input + 2), std::greater<T>()); assert(input[0] == 3); in test()
39 std::push_heap(Iter(input), Iter(input + 3), std::greater<T>()); assert(input[0] == 3); in test()
40 std::push_heap(Iter(input), Iter(input + 4), std::greater<T>()); assert(input[0] == 1); in test()
41 std::push_heap(Iter(input), Iter(input + 5), std::greater<T>()); assert(input[0] == 1); in test()
42 assert(std::is_heap(input, input + 5, std::greater<T>())); in test()
/llvm-project/llvm/test/Transforms/StraightLineStrengthReduce/
H A Dslsr-gep.ll6 ; foo(input[0]);
7 ; foo(input[s]);
8 ; foo(input[s * 2]);
10 ; p0 = &input[0];
16 define void @slsr_gep(ptr %input, i64 %s) {
27 ; v0 = input[0];
28 call void @foo(ptr %input)
30 ; v1 = input[s];
31 %p1 = getelementptr inbounds i32, ptr %input, i64 %s
34 ; v2 = input[s * 2];
[all …]
/llvm-project/libcxx/test/std/containers/sequences/
H A Dinsert_range_sequence_containers.h121 .initial = {}, .index = 0, .input = {}, .expected = {}
126 .initial = {}, .index = 0, .input = {}, .expected = {}
131 .initial = {}, .index = 0, .input = {5}, .expected = {5}
134 .initial = {}, .index = 0, .input = "a", .expected = "a"
137 .initial = {}, .index = 0, .input = {true}, .expected = {true}
142 .initial = {}, .index = 0, .input = {5, 3, 1, 7, 9}, .expected = {5, 3, 1, 7, 9}
145 .initial = {}, .index = 0, .input = "aeiou", .expected = "aeiou"
148 .initial = {}, .index = 0, .input = {1, 1, 0, 1, 1}, .expected = {1, 1, 0, 1, 1}
155 .initial = {3}, .index = 0, .input = {}, .expected = {3}
158 .initial = "B", .index = 0, .input = {}, .expected = "B"
[all …]
/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
H A Dcombine-fsub-fneg.mir15 ; CHECK-NEXT: %input:_(s16) = G_TRUNC [[COPY]](s32)
16 ; CHECK-NEXT: [[FNEG:%[0-9]+]]:_(s16) = G_FNEG %input
21 %input:_(s16) = G_TRUNC %0
23 %sub:_(s16) = nsz G_FSUB %cst, %input
39 ; CHECK-NEXT: %input:_(s16) = G_TRUNC [[COPY]](s32)
41 ; CHECK-NEXT: %sub:_(s16) = G_FSUB %cst, %input
45 %input:_(s16) = G_TRUNC %0
47 %sub:_(s16) = G_FSUB %cst, %input
63 ; CHECK-NEXT: %input:_(s16) = G_TRUNC [[COPY]](s32)
64 ; CHECK-NEXT: [[FNEG:%[0-9]+]]:_(s16) = G_FNEG %input
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/
H A Dpop_heap.pass.cpp39 T input[] = {5, 4, 1, 2, 3}; in test() local
40 assert(std::is_heap(input, input + 5)); in test()
41 std::pop_heap(Iter(input), Iter(input + 5)); assert(input[4] == 5); in test()
42 std::pop_heap(Iter(input), Iter(input + 4)); assert(input[3] == 4); in test()
43 std::pop_heap(Iter(input), Iter(input + 3)); assert(input[2] == 3); in test()
44 std::pop_heap(Iter(input), Iter(input + 2)); assert(input[1] == 2); in test()
45 std::pop_heap(Iter(input), Iter(input + 1)); assert(input[0] == 1); in test()

12345678910>>...154