Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7833 Discussions

C++11, Intel Parallel Studio 13 XE & Unicode String Literals

chkone
Beginner
307 Views

Hello,

Currently I try Intel Parallel Studio 13 XE (with Visual Studio 2012 integration), particulary the support of C++11.
I can see here :
http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport

The Unicode String Literals are supported with this option :

/Qoption,cpp,"--uliterals"

Enabled, but not documented...
I try it that work for :

  • L"String"
  • u"String"
  • U"String"

But don't work for :

  • u8"String"

I think just "String Literals" for "String New Type" : char16_t & char32_t are implemented and UTF-8 are forgeted ?

Have you any information about that ?

Regards

0 Kudos
1 Reply
SergeyKostrov
Valued Contributor II
307 Views
>>u8"String" I never tried to use the 'u8' prefix and on a project I currently work for both UNICODE and MBCS sets are supported with a more generic '_T(...)' macro wrapper. >>I think just "String Literals" for "String New Type" : char16_t & char32_t are implemented and UTF-8 are forgeted ? That is possible.
0 Kudos
Reply