diff options
author | Eugene Kosov <claprix@yandex.ru> | 2019-07-19 18:22:22 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2019-08-05 21:11:48 +0300 |
commit | da7d82b8ea9e7ad35e261f1452eabd242269de5d (patch) | |
tree | 2df950e14094a3d1ea6d9a35a8c84810a4648382 /libmariadb | |
parent | 988ff90256d2aacbcb6aaf57fc8984dc60ae74ff (diff) | |
download | mariadb-git-da7d82b8ea9e7ad35e261f1452eabd242269de5d.tar.gz |
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.
Diffstat (limited to 'libmariadb')
0 files changed, 0 insertions, 0 deletions