Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

impure elemental procedure support

Izaak_Beekman
New Contributor II
788 Views

Any chance we'll see support for impure elemental procedures sometime soon? It would certainly aid debugging my overloaded operators and assignments. Abstract factory patterns in Fortran often require type gaurding the RHS these operators and assignments. If they are elemental and if an incompatable type is passed (which might extend a common abstract parent class) there is no good way to signal an error. This error will likely have to pass silently.

0 Kudos
5 Replies
Steven_L_Intel1
Employee
788 Views

If by "soon" you mean in the next few months, it is unlikely. But it is on our shortlist of things we're considering in our current planning.

0 Kudos
Steven_L_Intel1
Employee
788 Views

We expect to support IMPURE in our next major release.

0 Kudos
Izaak_Beekman
New Contributor II
788 Views

Does that mean in one of the 2015 releases or the 2016 release?

0 Kudos
Steven_L_Intel1
Employee
788 Views

It won't be an update to the 15.0 compiler - it will be some higher numbered version. Version numbers and product nomenclature are all subject to the whim of the marketing people, so I don't want to predict what it will be called. Expect it about a year from now, ok?

0 Kudos
Izaak_Beekman
New Contributor II
787 Views

great, thanks for the info

0 Kudos
Reply