However, if this suggestion is rejected, and complex is no longer available for its old uses, then Andy probably needs to grep the language portions for complex and make a suitable replacement. It seems appropriate to forward this to the library working group. Budge Dear Kent, I will be grateful for your comments on the following issues related to the class valarray and other associated classes. Thus a -ve value can be passed as an argument to it. However, the DWP does not specify any action to performed in case of a -ve value.
Most compilers simply give a warning and ignore the const qualifier in the return type.
Was there some specific reason for putting the const qualifier in the return type. I have some changes to propose to that section, based on review of the section, discussions here at Cray and elsewhere, and implementation experience from other library implementors. I have divided the material into Editorial and Substantive changes below. Please let me know how you want to handle it. For completeness, a circular shift function should be added.