Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Aligned operator new support in Intel C++ Compiler

$
0
0

The new released Intel® Parallel Studio XE 2015 Composer Edition for C++ Windows* and Linux* supports the aligned operator"new"

A new header "aligned_new" is provided by the Intel® Parallel Studio XE 2015 Composer Edition for C++ Window* and Linux*

To use the aligned operator new, just include the new header "aligned_new". For example:  

#include <string>
#include <aligned_new>
using namespace std;

string* foo()
{
	string *p = new string();
	return p;
}

Note: the support on OS X* will be coming soon.


Viewing all articles
Browse latest Browse all 3384

Trending Articles



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