cpprestsdk
cpprestsdk copied to clipboard
Fix the deprecation warning of `stdext::checked_array_iterator`
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.
This should use std::span
.
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.
@barcharcraz Can you review this?