Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7646 Discussions

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

Sychov__Dmitry
Beginner
229 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
229 Views

 

Yes it is supported under the -fms-dialect option

Sychov__Dmitry
Beginner
229 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

Reply