Changeset 1875 in Sophya for trunk/SophyaLib/BaseTools/mutyv.h
- Timestamp:
- Jan 20, 2002, 12:43:18 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/mutyv.h
r1871 r1875 60 60 61 61 inline operator uint_2() const { return((uint_2)iv); } 62 inline operator uint_4() const { return((uint_4)iv); } 62 63 inline operator uint_8() const { return((uint_8)iv); } 63 64 inline operator int_4() const { return((int_4)iv); } … … 69 70 70 71 operator string() const ; 71 72 /* g++ a du mal avec les operateurs de conversion complex<T> */73 /* On definit donc les deux methodes de conversion nommees explicitement */74 inline complex<r_4> ToComplexF() const { return(complex<r_4>((r_4)dv, (r_4)dv_im)); }75 inline complex<r_8> ToComplexD() const { return(complex<r_8>(dv, dv_im)); }76 72 77 73 inline MTVType Type() const { return typ; }
Note:
See TracChangeset
for help on using the changeset viewer.