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

Function isspace

gil/std.io.hpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27} // namespace _impl_
28
29static constexpr auto isspace(auto ch) noexcept {
30 using _impl_::tmp;
31 return block_(tmp = ch, break_(tmp == ' ' || tmp == '\t' || tmp == '\n' ||
32 tmp == '\v' || tmp == '\f' || tmp == '\r'));
33}
34
35static constexpr auto skip_whitespace() noexcept {
36 return loop_(if_(isspace(peek_()))(advance_())->else_(break_));

Callers 1

skip_whitespaceFunction · 0.85

Calls 1

block_Function · 0.85

Tested by

no test coverage detected