We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In variant constructors (variant.hpp) we use a pattern like:
template<typename U, std::size_t Ix = detail::var::best_converting_ctor_index_v<U, Ts...>, typename Alt = nth_type<Ix>, std::enable_if_t<std::is_constructible<Alt, U>::value, int> = 0, ...
On GCC 7 the subsequent uses of Alt fail. Textually replacing Alt with nth_type<Ix> works around this problem.
Alt
nth_type<Ix>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In variant constructors (variant.hpp) we use a pattern like:
On GCC 7 the subsequent uses of Alt fail. Textually replacing
Alt
withnth_type<Ix>
works around this problem.The text was updated successfully, but these errors were encountered: