Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

stringstream bug



In my program writing in C++, I use a few functions that use stringstream classes.

I do not have any problems with compilation of  my program by Visual Studio 2013 and Intel Parallel Studio 2013.

The same program I tried using  Visual Studio 2015 and Intel Parallel Studio 2015 XE Update 4.

I do not have any problems with compilation of  my program by MS compiler but when try to use Intel C++ compiler I get only one error:

1>": : error : ** The compiler has encountered an unexpected problem.

1>  ** Segmentation violation signal raised. **

1>  Access violation or stack overflow. Please contact Intel Support for assistance.


without any information which line of my source code is responsible for this error.

I tried to find the reason of the error and I found that it is related to stringstream classes.

For example, in the very short test program


#include <sstream>

int main()


               std::stringstream ioStream;

               return 0;



I got errors:

1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits(1617): error : a nonstatic member reference must be relative to a specific object

1>                         -> decltype(_STD invoke(get(), _STD forward<_Types>(_Args)...))

1>                                                 ^


What is wrong in stringstream classes? Could someone help me.

Best regards,


0 Kudos
1 Reply

Hi Jerzy,

This issue is same with the one your reported on:

It also works v16.0 beta.