MDEV-20103 add a class similar to std::span
Non-owning reference to elements. Use it as function argument instead of pointer+size pair or instead of const std::vector<T>. Do not use it for strings! More info is here http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines Or just google about it.
Showing
Please register or sign in to comment