MCPcopy Create free account
hub / github.com/Tencent/MMKV / operator |

Function operator |

Core/MemoryFile.h:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53constexpr uint32_t OpenFlagRWMask = 0x3; // mask for Read Write mode
54
55static inline OpenFlag operator | (OpenFlag left, OpenFlag right) {
56 return static_cast<OpenFlag>(static_cast<uint32_t>(left) | static_cast<uint32_t>(right));
57}
58
59static inline bool operator & (OpenFlag left, OpenFlag right) {
60 return ((static_cast<uint32_t>(left) & static_cast<uint32_t>(right)) != 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected