Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

[OS X] a tuple of tuples

Toshio_U_
Beginner
291 Views

The following code contains a std::tuple of tuples. It can be successfully compiled with c++ compiler provided by Apple but fails with icpc-15.0.2.132 under OS X 10.10(Yosemite).

#include <tuple>

 

int

main()

{

    using namespace    std;

 

    tuple<tuple<int, float>, tuple<long, double> > x;

 

    return 0;

}

0 Kudos
2 Replies
Feilong_H_Intel
Employee
290 Views

Hi there,

I've entered this issue to our  problem-tracking database.  Thank you for your small test case!

Thanks.

0 Kudos
Feilong_H_Intel
Employee
290 Views

This issue has been addressed in 16.0 compiler and in 15.0.4 compiler .  FYI.

Thanks.

0 Kudos
Reply