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
407 changes: 0 additions & 407 deletions stl/inc/iterator

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1471,16 +1471,8 @@ _EMIT_STL_ERROR(STL1004, "C++98 unexpected() is incompatible with C++23 unexpect
#define _CXX23_DEPRECATE_DENORM
#endif // ^^^ warning disabled ^^^

#if !defined(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) && !defined(_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS)
#define _DEPRECATE_STDEXT_ARR_ITERS \
[[deprecated( \
"warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory " \
"functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and " \
"gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or " \
"_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.")]]
#else // ^^^ warning enabled / warning disabled vvv
#define _DEPRECATE_STDEXT_ARR_ITERS
#endif // ^^^ warning disabled ^^^
// STL4043 was "stdext::checked_array_iterator, stdext::unchecked_array_iterator,
// and related factory functions are non-Standard extensions and will be removed"

// STL4044 was "The contents of the stdext::cvt namespace are non-Standard extensions and will be removed"

Expand Down
2 changes: 0 additions & 2 deletions tests/std/test.lst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ tests\Dev10_654977_655012_shared_ptr_move
tests\Dev10_661739_tuple_copy_ctors
tests\Dev10_682964_stable_sort_warnings
tests\Dev10_689595_back_inserter_vector_bool
tests\Dev10_709166_checked_and_unchecked_array_iterator
tests\Dev10_709168_marking_iterators_as_checked
tests\Dev10_722102_shared_ptr_nullptr
tests\Dev10_729003_bind_reference_wrapper
Expand Down Expand Up @@ -785,7 +784,6 @@ tests\VSO_0204655_heap_algorithms_integer_overflow
tests\VSO_0224478_scoped_allocator
tests\VSO_0226079_mutex
tests\VSO_0234888_num_get_overflows
tests\VSO_0299624_checked_array_iterator_idl
tests\VSO_0397980_codecvt_length
tests\VSO_0429900_fast_debug_range_based_for
tests\VSO_0474901_shift_jis_codecvt
Expand Down
5 changes: 0 additions & 5 deletions tests/std/tests/Dev10_500860_overloaded_address_of/test.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING

#include <array>
#include <cstddef>
#include <cstdlib>
Expand Down Expand Up @@ -30,7 +28,6 @@
#include <vector>

using namespace std;
using namespace stdext;

#define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__)

Expand Down Expand Up @@ -164,8 +161,6 @@ template class std::_List_unchecked_const_iterator<_List_val<_List_simple_types<
template class std::reverse_iterator<Evil*>;
template class std::move_iterator<Evil*>;
template class std::istream_iterator<Evil>;
template class stdext::checked_array_iterator<Evil*>;
template class stdext::unchecked_array_iterator<Evil*>;


template class std::shared_ptr<Evil>;
Expand Down

This file was deleted.

Loading