| 516 | |
| 517 | template <typename FirstType, typename... RestTypes> |
| 518 | bool Variant<FirstType, RestTypes...>::invalid() const { |
| 519 | return m_typeIndex == InvalidVariantType; |
| 520 | } |
| 521 | |
| 522 | template <typename FirstType, typename... RestTypes> |
| 523 | bool Variant<FirstType, RestTypes...>::operator==(Variant const& x) const { |