Changeset 2803 in Sophya for trunk/Eval/COS/vecmapstl.cc


Ignore:
Timestamp:
Jun 9, 2005, 11:33:33 AM (20 years ago)
Author:
ansari
Message:

petites corrections/adaptation suite test compil intel icc - Reza 9 Juin 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Eval/COS/vecmapstl.cc

    r1874 r2803  
    55#include <string>
    66
    7 #include <iostream.h>
     7#include <iostream>
    88#include <vector>
    99#include <map>
     
    8686         << " czr1+czr2= " << (complex<double>)czr2+(complex<double>)czr1 << endl;
    8787#endif
    88     complex<double> zdd;
    89     zdd = static_cast< complex<double> >(czr1);
    90     cout << " zdd = static_cast< complex<double> >(czr1) = " << zdd << endl;
     88    complex<double> zdd(2);
     89    //    zdd = static_cast< complex<double> >(czr1);
     90    //    cout << " zdd = static_cast< complex<double> >(czr1) = " << zdd << endl;
     91    // ----------- Mai 2005 , compilation avec icc
     92    // Suite a l'essai de compilation avec icc (Intel compiler)
     93    // on fait un appel explicite a l'operateur de comversion
     94    // object.operator T()
     95    zdd = czr1.operator complex<double>();
     96    cout << " zdd = czr1.operator complex<double>() : " << zdd << endl;
     97    double xx ;
     98    xx = czr1;
     99   
    91100  }
    92101  catch(exception exc){
Note: See TracChangeset for help on using the changeset viewer.