Skip to content

No longer works with Visual Studio 2017 #35

@emptyVoid

Description

@emptyVoid

I've just updated to VS 15.5 (toolset 14.12), and no longer able to build projects which use the variant.
Here're the errors (in case it helps):

C3528	'Is': the number of elements in this pack expansion does not match the number of elements in 'Js'	...\mpark\variant.hpp	575
C2672	'mpark::detail::visitation::base::make_farray': no matching overloaded function found	cvtest	...\mpark\variant.hpp	574
C2893	Failed to specialize function template 'mpark::lib::cpp14::array<std::common_type<std::decay<Fs>::type...>::type,sizeof...(Fs)> mpark::detail::visitation::base::make_farray(Fs &&...)'	...\mpark\variant.hpp	575
C2672	'mpark::detail::visitation::base::at': no matching overloaded function found	...\mpark\variant.hpp	629
C2784	'const remove_all_extents<T>::type &mpark::detail::visitation::base::at(const mpark::lib::cpp14::array<T,N> &,::size_t,Is...)': could not deduce template argument for 'const mpark::lib::cpp14::array<T,N> &' from 'void'	...\mpark\variant.hpp	633
C2780	'const T &mpark::detail::visitation::base::at(const T &)': expects 1 arguments - 2 provided	...\mpark\variant.hpp	633

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions