Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7681 Discussions

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

chkone
Beginner
243 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
243 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.
Reply