- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code compiles fine with gcc and clang, but causes a segfault with icc 2016 (used -std=c++14)
#include <tuple> #include <type_traits> #include <utility> template<class... Tx> void f(const std::tuple<Tx...>& t, std::enable_if_t<Tx() || true, int>... indexes) { } int main() { auto t = std::make_tuple(3, 4.0); f(t, 1 ,2); return 0; }
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've filed this issue with the developers and will update you as soon as the release with the fix is out, appreciate much.
_Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This issue is fixed in the latest product release (16.0) which you can download from the https://registrationcenter.intel.com, thx.
_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