Boost.Locale
string.hpp
1
//
2
// Copyright (c) 2022 Alexander Grund
3
//
4
// Distributed under the Boost Software License, Version 1.0.
5
// https://www.boost.org/LICENSE_1_0.txt
6
7
#ifndef BOOST_LOCALE_UTIL_STRING_HPP
8
#define BOOST_LOCALE_UTIL_STRING_HPP
9
10
#include <boost/locale/config.hpp>
11
12
namespace
boost {
namespace
locale {
namespace
util {
14
template
<
typename
Char>
15
Char*
str_end
(Char* str)
16
{
17
while
(*str)
18
++str;
19
return
str;
20
}
21
}}}
// namespace boost::locale::util
22
23
#endif
boost::locale::util::str_end
Char * str_end(Char *str)
Return the end of a C-string, i.e. the pointer to the trailing NULL byte.
Definition:
string.hpp:15
© Copyright 2009-2012 Artyom Beilis, Distributed under the
Boost Software License
, Version 1.0.