| 648 | // This method uses try_as<T>() for proper string-to-number conversion |
| 649 | template<typename T> |
| 650 | T as_or(const T& fallback) const FL_NOEXCEPT { |
| 651 | auto result = try_as<T>(); |
| 652 | return result.has_value() ? *result : fallback; |
| 653 | } |
| 654 | |
| 655 | // has_value method for compatibility |
| 656 | bool has_value() const FL_NOEXCEPT { |
no test coverage detected