Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

[OS X] a tuple of tuples

$
0
0

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;

}


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>