diff options
author | yuryalekseev <yuryalekseev@yandex-team.com> | 2022-12-31 14:41:55 +0300 |
---|---|---|
committer | yuryalekseev <yuryalekseev@yandex-team.com> | 2022-12-31 14:41:55 +0300 |
commit | ebf3c8be8039a35cd2b98541e22279af290e3f55 (patch) | |
tree | 07dc02314bc5d1413f28d4e6017c8ddb2984ff66 /contrib/restricted/boost | |
parent | c8099767cc762ca726d0c98f6858a51e477acd19 (diff) | |
download | ydb-ebf3c8be8039a35cd2b98541e22279af290e3f55.tar.gz |
Modify executable name in README.md.
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r-- | contrib/restricted/boost/locale/include/boost/locale/util/string.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/restricted/boost/locale/include/boost/locale/util/string.hpp b/contrib/restricted/boost/locale/include/boost/locale/util/string.hpp new file mode 100644 index 0000000000..3dc465f157 --- /dev/null +++ b/contrib/restricted/boost/locale/include/boost/locale/util/string.hpp @@ -0,0 +1,23 @@ +// +// Copyright (c) 2022 Alexander Grund +// +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#ifndef BOOST_LOCALE_UTIL_STRING_HPP +#define BOOST_LOCALE_UTIL_STRING_HPP + +#include <boost/locale/config.hpp> + +namespace boost { namespace locale { namespace util { + /// Return the end of a C-string, i.e. the pointer to the trailing NULL byte + template<typename Char> + Char* str_end(Char* str) + { + while(*str) + ++str; + return str; + } +}}} // namespace boost::locale::util + +#endif
\ No newline at end of file |