Audacity 3.2.0
|
Help to define Visit() below. More...
#include <Variant.h>
Public Types | |
using | Var = std::remove_reference_t< Variant > |
using | Alt = std::variant_alternative_t< 0, Var > |
using | QAlt = std::conditional_t< std::is_const_v< Var >, const Alt, Alt > |
using | Arg = std::conditional_t< std::is_lvalue_reference_v< Variant >, std::add_lvalue_reference_t< QAlt >, std::add_rvalue_reference_t< QAlt > > |
using | type = decltype(std::invoke(std::declval< Visitor && >(), std::declval< Arg >())) |
Help to define Visit() below.
using Variant::detail::VisitHelperReturn< Visitor, Variant >::Alt = std::variant_alternative_t<0, Var> |
using Variant::detail::VisitHelperReturn< Visitor, Variant >::Arg = std::conditional_t<std::is_lvalue_reference_v<Variant>, std::add_lvalue_reference_t<QAlt>, std::add_rvalue_reference_t<QAlt> > |
using Variant::detail::VisitHelperReturn< Visitor, Variant >::QAlt = std::conditional_t< std::is_const_v<Var>, const Alt, Alt > |
using Variant::detail::VisitHelperReturn< Visitor, Variant >::type = decltype(std::invoke(std::declval<Visitor&&>(), std::declval<Arg>())) |
using Variant::detail::VisitHelperReturn< Visitor, Variant >::Var = std::remove_reference_t<Variant> |