| 261 | /// @brief Determines if the variant passed is "empty" |
| 262 | template <typename T> |
| 263 | inline detail::enable_for_variants_t<T, bool> is_empty(T const &v) { |
| 264 | return (v.vt == VT_EMPTY); |
| 265 | } |
| 266 | |
| 267 | /// @overload |
| 268 | /// For wrapped variants. Also returns true if the wrapper itself is empty. |