| 119 | |
| 120 | template <typename any_t> |
| 121 | struct StrongPointer |
| 122 | { |
| 123 | union { |
| 124 | any_t *pointer; |
| 125 | char padding[sizeof(std::max_align_t)]; |
| 126 | }; |
| 127 | |
| 128 | inline any_t *operator->() const |
| 129 | { |
| 130 | return pointer; |
| 131 | } |
| 132 | inline any_t *get() const |
| 133 | { |
| 134 | return pointer; |
| 135 | } |
| 136 | inline explicit operator bool() const |
| 137 | { |
| 138 | return nullptr != pointer; |
| 139 | } |
| 140 | }; |
| 141 | |
| 142 | template <typename enum_t> |
| 143 | constexpr enum_t operator|(enum_t lhs, enum_t rhs) |
nothing calls this directly
no outgoing calls
no test coverage detected