summaryrefslogtreecommitdiff
path: root/lib/strings.hpp
blob: ee0db95a2e89320b7069a21c6065dab6fc7320b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef STRINGS_HPP
#define STRINGS_HPP

constexpr auto
constexpr_strlen(const GLchar * const s)
{
	std::size_t ch {};
	while (s[ch]) {
		ch++;
	}
	return ch;
}

#endif