xtl
xtl copied to clipboard
where is xvariant?
Hi, Im updating xframe, where is xtl/xvariant.hpp?
template <class... T>
struct xdynamic_traits_impl<xtl::variant<T...>>
{
using value_type = xtl::variant<xtl::xoptional<T, bool>...>;
using reference = xtl::variant<xtl::xoptional<T&, bool&>...>;
using const_reference = xtl::variant<xtl::xoptional<const T&, const bool&>...>;
using pointer = xtl::xclosure_pointer<reference>;
using const_pointer = xtl::xclosure_pointer<const_reference>;
};
Hi,
Sorry for the very late reply, it has been removed. Now that xtl supports C++17, xtl::variant should be replaced with std::variant.