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
Change https://github.com/Antique-team/clangml/blob/master/tools/bridgen/c%2B%2B/ocaml%2B%2B.h#L486 to use std::make_index_sequence http://en.cppreference.com/w/cpp/utility/integer_sequence
std::make_index_sequence
The text was updated successfully, but these errors were encountered:
Actually, use std::index_sequence_for, instead.
std::index_sequence_for
Sorry, something went wrong.
Would it fix something? This is C++14 and we are currently using c++11.
Even with -std=c++1y and clang++ 3.4, it doesn't compile:
tools/bridgen/c++/ocaml++.h:486:22: error: no member named 'index_sequence_for' in namespace 'std'
It would fix nothing, but it would make the code clearer. Consider this low priority and something that can be done after C++14 is out. Another example is using enable_if_t here: https://github.com/Antique-team/clangml/blob/master/tools/bridgen/c%2B%2B/ocaml%2B%2B.h#L278
pippijn
No branches or pull requests
Change
https://github.com/Antique-team/clangml/blob/master/tools/bridgen/c%2B%2B/ocaml%2B%2B.h#L486
to use
std::make_index_sequence
http://en.cppreference.com/w/cpp/utility/integer_sequence
The text was updated successfully, but these errors were encountered: