MCPcopy Create free account
hub / github.com/SheafificationOfG/based-cpp / strcpy

Function strcpy

gil/std.str.hpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static constexpr auto strcpy(auto dst, auto src) noexcept {
52 using _impl_::idx;
53 return for_(idx = 0, true, ++idx)(dst[*idx] = *src[*idx],
54 if_(end(src[*idx]))(break_));
55}
56
57static constexpr auto puts(auto str) noexcept {
58 using _impl_::idx;

Callers

nothing calls this directly

Calls 3

for_Function · 0.85
if_Function · 0.85
endFunction · 0.85

Tested by

no test coverage detected