template<typename _Tp, typename... _Types>
constexpr inline bool __same_types = (is_same_v<_Tp, _Types> && ...);
- template <unsigned long int _Idx, typename _Visitor, typename _Variant>
+ template <size_t _Idx, typename _Visitor, typename _Variant>
decltype(auto)
__check_visitor_result(_Visitor&& __vis, _Variant&& __variant)
{
std::get<_Idx>(std::forward<_Variant>(__variant)));
}
- template <typename _Visitor, typename _Variant, unsigned long int... _Idxs>
+ template <typename _Visitor, typename _Variant, size_t... _Idxs>
constexpr bool __check_visitor_results(std::index_sequence<_Idxs...>)
{
return __same_types<decltype(__check_visitor_result<_Idxs>(