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

Class If

gil/gil.impl.hpp:519–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517} // namespace _impl_
518
519template <auto expr, typename Then, typename Else = Block<>> struct If {
520 template <typename Runtime>
521 using Run =
522 _impl_::Branch<static_cast<bool>(expr::Eval<Runtime, expr>::value), Then,
523 Else>::Result::template Run<Runtime>;
524};
525
526template <auto expr, typename Loop> struct While {
527 template <typename Runtime>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected