diff --git a/platform/cxxsupport/mstd_span b/platform/cxxsupport/mstd_span index f8c9aa8d11..0a1c7afe68 100644 --- a/platform/cxxsupport/mstd_span +++ b/platform/cxxsupport/mstd_span @@ -323,21 +323,6 @@ private: detail::storage _storage; }; -template -span -as_bytes(span s) noexcept -{ - return {reinterpret_cast(s.data()), s.size_bytes()}; -} - -template -span -as_writable_bytes(span s) noexcept -{ - static_assert(not is_const::value); - return {reinterpret_cast(s.data()), s.size_bytes()}; -} - template constexpr span make_span(ElementType (&arr)[Extent]) {