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

std::move with icc 15.0 on OS X ?

$
0
0

 Hi,

I have a lot of code and libraries on the mac that were built with libstdc++. I'm wondering if there is a way I can compile things to continue to use that version of the c runtime and yet use modern c++ features, in particular std::move. There doesn't seem to be any way to do this because the headers you get with you turn on -stdlib=libstdc++ are the apple headers that don't even have std::move.

Ultimately it seems like I'm going to need to switch to libc++ but I thought I would ask here if there was any way to get around this and use this newer c++ feature. I don't need initializer_list or variadic templates for instance.

thanks,

James

I have the latest Xcode 6 installed on Yosemite.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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