| 39 | } |
| 40 | |
| 41 | bool empty() const FL_NOEXCEPT { return !mValue.template is<T>(); } |
| 42 | bool has_value() const FL_NOEXCEPT { return !empty(); } // std::optional compatibility |
| 43 | T *ptr() FL_NOEXCEPT { return mValue.template ptr<T>(); } |
| 44 | const T *ptr() const FL_NOEXCEPT { return mValue.template ptr<T>(); } |
no outgoing calls
no test coverage detected