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

Function while_

gil/std.base.hpp:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76static constexpr auto block_(auto... code) { return loop_(code..., break_); }
77
78static constexpr auto while_(auto cond) noexcept {
79 return [=](auto... code) { return loop_(if_(cond)(code...)->else_(break_)); };
80}
81
82static constexpr auto for_(auto init, auto cond, auto post) noexcept {
83 return [=](auto... code) {

Callers 4

mergesort.cppFile · 0.85
hello_world.cppFile · 0.85
write_intFunction · 0.85
for_Function · 0.85

Calls 3

loop_Function · 0.85
if_Function · 0.85
else_Method · 0.80

Tested by

no test coverage detected