MCPcopy Create free account
hub / github.com/Bzi-Han/AndroidSurfaceImgui / operator|

Function operator|

modules/ANativeWindowCreator.h:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142 template <typename enum_t>
143 constexpr enum_t operator|(enum_t lhs, enum_t rhs)
144 requires std::is_enum_v<enum_t>
145 {
146 using underlying_t = std::underlying_type_t<enum_t>;
147
148 return static_cast<enum_t>(static_cast<underlying_t>(lhs) | static_cast<underlying_t>(rhs));
149 }
150
151 template <typename enum_t>
152 constexpr enum_t operator|=(enum_t &lhs, enum_t rhs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected