Changeset 2803 in Sophya for trunk/Eval/COS
- Timestamp:
- Jun 9, 2005, 11:33:33 AM (20 years ago)
- Location:
- trunk/Eval/COS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Eval/COS/lance.h
r1571 r2803 1 #include <iostream .h>1 #include <iostream> 2 2 #include <exception> 3 3 #include <string> -
trunk/Eval/COS/vecmapstl.cc
r1874 r2803 5 5 #include <string> 6 6 7 #include <iostream .h>7 #include <iostream> 8 8 #include <vector> 9 9 #include <map> … … 86 86 << " czr1+czr2= " << (complex<double>)czr2+(complex<double>)czr1 << endl; 87 87 #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 91 100 } 92 101 catch(exception exc){
Note:
See TracChangeset
for help on using the changeset viewer.