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

C++11 standard library on OSX

$
0
0

Hi,

As far as I understand, Intel C++ compilers don't come with their own library and use the system library. OSX comes with libc++ from the clang project and a very old version of the GNU libstdc++, so old that std::array is still in tr1. Unfortunately, libc++ does not provide (as far as I know) any way of bound  checking the [] operator on std::vector and std::array (I don't want to use .at as I want bound checking on only when I debug my code).

 

I have compiled gcc 4.9 on my machine that comes with a new version of libstdc++. Is there any way o using this library with the Intel compiler ?

Best regards,

Francois


Viewing all articles
Browse latest Browse all 1616

Trending Articles