Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/std/tests/P0896R4_ranges_alg_copy/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ struct instantiator {
};

int main() {
#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((test_in_write<instantiator, int const, int>(), true));
#endif
test_in_write<instantiator, int const, int>();
}
2 changes: 2 additions & 0 deletions tests/std/tests/P0896R4_ranges_alg_transform_unary/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ struct instantiator {
};

int main() {
#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((test_in_write<instantiator, const P, int>(), true));
#endif
test_in_write<instantiator, const P, int>();
}
4 changes: 4 additions & 0 deletions tests/std/tests/P2321R2_views_adjacent/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,13 @@ int main() {
test_one<3>(span<const int>{}, span<tuple<int, int, int>>{});
}

#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((instantiation_test(), true));
#endif
instantiation_test();

#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((instantiation_input_only_test(), true));
#endif
instantiation_input_only_test();
}
4 changes: 4 additions & 0 deletions tests/std/tests/P2321R2_views_adjacent_transform/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,9 +1063,13 @@ int main() {
static_assert(CanMemberBase<weird_adjacent_transform_view>);
}

#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((instantiation_test(), true));
#endif
instantiation_test();

#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert((instantiation_input_only_test(), true));
#endif
instantiation_input_only_test();
}
2 changes: 2 additions & 0 deletions tests/std/tests/P2441R2_views_join_with/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@ int main() {
assert(ranges::empty(filtered_and_joined));
}

#ifndef _PREFAST_ // TRANSITION, GH-1030
static_assert(instantiation_test());
#endif
instantiation_test();

test_valueless_iterator();
Expand Down