- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code compiles fine with clang and gcc (-std=c++14) but fails with icc 2016.
#include <type_traits> #include <utility> #include <tuple> template<class Integer, Integer... Ix> using IntegerSequence = std::tuple<std::integral_constant<Integer, Ix>...>; template<std::size_t... Indexes> using IndexSequence = IntegerSequence<std::size_t, Indexes...>; template<std::size_t... Indexes> int f(IndexSequence<Indexes...>) { return 0; } int main() { f(IndexSequence<3,7,8>()); return 0; }
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ryan,
Thanks, I've filed this issue with the developers and will touch base with you as soon as I've an update accordingly.
_Kittur

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page