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

Module support in C++?

MWind2
New Contributor III
455 Views

Does any Intel c++ compilers support modules?

0 Kudos
1 Solution
NoorjahanSk_Intel
Moderator
369 Views

Hi,


You can try it with /Qstd:c++20 (-std=c++20) flag with the latest icpx/icx compiler(2022.2.0) to enable C++20 feature.

Please refer to below link for more details:

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/language-options/std-qstd.html


Hope this helps to resolve your issue. If not, please provide us with a sample reproducer code(steps if any) along with compiler version being used.


Thanks & Regards,

Noorjahan.


View solution in original post

0 Kudos
4 Replies
NoorjahanSk_Intel
Moderator
391 Views

Hi,


Thanks for reaching out to us.


Thanks for reporting this issue. We have informed the development team about it. We will get back to you soon.


Thanks & Regards,

Noorjahan.


0 Kudos
NoorjahanSk_Intel
Moderator
370 Views

Hi,


You can try it with /Qstd:c++20 (-std=c++20) flag with the latest icpx/icx compiler(2022.2.0) to enable C++20 feature.

Please refer to below link for more details:

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/language-options/std-qstd.html


Hope this helps to resolve your issue. If not, please provide us with a sample reproducer code(steps if any) along with compiler version being used.


Thanks & Regards,

Noorjahan.


0 Kudos
NoorjahanSk_Intel
Moderator
325 Views

Hi,


Thanks for accepting our solution.


As this issue has been resolved, we will no longer respond to this thread. If you need any additional information, please post a new question


Thanks & Regards,

Noorjahan.


0 Kudos
Reply