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

Segmentation violation when using std::make_exception_ptr with string arguments

$
0
0

Hi,

the following code causes a segmentation violation in the compiler with Parallel Studio XE 2016 (2016.0.110) integrated into Visual Studio 2015.

#include <exception>
#include <string>

int main()
{
	std::string s;
	std::make_exception_ptr(s);
}

 

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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