14 lines
169 B
Text
14 lines
169 B
Text
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace std {
|
|
|
|
static inline size_t strlen(const char *str) {
|
|
size_t i = 0;
|
|
while (str[i])
|
|
++i;
|
|
return i;
|
|
}
|
|
|
|
}
|