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

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.

  • C/C++
  • Intel® C++-Compiler
  • URL
  • Design-Zone: 

    IDZone

    Viewing all articles
    Browse latest Browse all 1665

    Trending Articles



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