summaryrefslogtreecommitdiff
path: root/libraries/euler/include/cstring
blob: 65d00dc94bda8e7f6754c14729db95773b40d4cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <cstddef>

namespace std {

  static inline size_t strlen(const char *str) {
    size_t i = 0;
    while (str[i])
      ++i;
    return i;
  }

}