From Jason Turner
Watch on YouTube

Summary

Jason discusses the first core language feature to be accepted into C++23: literal suffixes for signed and unsigned size_t types. Though not yet supported by any compilers at the time of recording, these new suffixes (`uz` for unsigned size_t and `z` for signed size_t/ptrdiff_t) will simplify code when dealing with container sizes and pointer arithmetic, eliminating the need for explicit casts that are often required to avoid conversion warnings.

Resources

Tags