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

"__if_exists" Linux support as part of "fms-dialect" option

Sychov__Dmitry
Beginner
449 Views

Hello,

We have a large windows C++ code base with heavy use of the MS VS++ specific "__if_exists" extension.

I know that "__if_exists"  extension is supported with Intel C++ compiler running on windows, but what about using this extension on Linux Intel C++ compiler - is the support of it is included  in "fms-dialect" option?

thank you, dmitry

0 Kudos
2 Replies
Judith_W_Intel
Employee
449 Views

 

Yes it is supported under the -fms-dialect option

0 Kudos
Sychov__Dmitry
Beginner
449 Views

Judith, thats excellent news!! with proper use its even more powerful than the new "constexpr if" - we are planning to test it and report bugs(if any) along the way. thank you & happy upcoming holidays, dmitry

0 Kudos
Reply