You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking at the new Wunsafe-buffer-usage errors with clang I came across a few places where C++20 features might be useful. One example is in FastNBT where we have the pattern func(foo* a_Buffer, size_t a_BufferLength). The warnings complain about these and I think std::span is designed to replace this pattern with some extra safety.
Would we be happy to upgrade to C++20?
The text was updated successfully, but these errors were encountered:
While looking at the new
Wunsafe-buffer-usage
errors with clang I came across a few places where C++20 features might be useful. One example is inFastNBT
where we have the patternfunc(foo* a_Buffer, size_t a_BufferLength)
. The warnings complain about these and I thinkstd::span
is designed to replace this pattern with some extra safety.Would we be happy to upgrade to C++20?
The text was updated successfully, but these errors were encountered: