You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 regels
149 B

#pragma once
#include <stddef.h>
namespace cstring{
constexpr size_t strlen( const char* s ) noexcept
{
return *s ? 1 + strlen(s + 1) : 0;
}
}