cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

Fix the deprecation warning of `stdext::checked_array_iterator`

Open frederick-vs-ja opened this issue 1 year ago • 3 comments

By adding a non-deprecated copy of checked_array_iterator.

The implementation heavily relies on the implementation details of MSVC STL, but IMO this is OK since we only use it when defined(_ITERATOR_DEBUG_LEVEL) && _ITERATOR_DEBUG_LEVEL != 0.

Fixes #1768.

frederick-vs-ja avatar Sep 20 '23 18:09 frederick-vs-ja

This should use std::span.

robert-andrzejuk avatar Nov 24 '23 18:11 robert-andrzejuk

This should use std::span.

It looks like the rest of the code base is targeting something much older than C++20.

I think this is fine as is.

lederernc avatar Dec 05 '23 00:12 lederernc

@barcharcraz Can you review this?

kobykahane avatar Jan 08 '24 06:01 kobykahane