Ignore:
Timestamp:
Feb 14, 2003, 4:06:28 PM (23 years ago)
Author:
ansari
Message:

Pb de Compil avec SGI-CC avec LANG:std pour instanciation de fonction de classes templates pour types particuliers - Reza 14/02/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/datatype.cc

    r1238 r2327  
    1212{
    1313}
    14 
     14#if defined(__SGICC__)
     15template <class uint_1>
     16string DataTypeInfo<uint_1>::getTypeName() { return("uint_1"); }
     17template <class uint_2>
     18string DataTypeInfo<uint_2>::getTypeName() { return("uint_2"); }
     19template <class int_2>
     20string DataTypeInfo<int_2>::getTypeName() { return("int_2"); }
     21template <class int_4>
     22string DataTypeInfo<int_4>::getTypeName() { return("int_4"); }
     23template <class int_8>
     24string DataTypeInfo<int_8>::getTypeName() { return("int_8"); }
     25template <class uint_4>
     26string DataTypeInfo<uint_4>::getTypeName() { return("uint_4"); }
     27template <class uint_8>
     28string DataTypeInfo<uint_8>::getTypeName() { return("uint_8"); }
     29template <class r_4>
     30string DataTypeInfo<r_4>::getTypeName() { return("r_4"); }
     31template <class r_8>
     32string DataTypeInfo<r_8>::getTypeName() { return("r_8"); }
     33template <class complex<r_4> >
     34string DataTypeInfo< complex<r_4> >::getTypeName() { return(" complex<r_4> "); }
     35template <class complex<r_8> >
     36string DataTypeInfo< complex<r_8> >::getTypeName() { return(" complex<r_8> "); }
     37#else
    1538string DataTypeInfo<uint_1>::getTypeName() { return("uint_1"); }
    1639string DataTypeInfo<uint_2>::getTypeName() { return("uint_2"); }
     
    2447string DataTypeInfo< complex<r_4> >::getTypeName() { return(" complex<r_4> "); }
    2548string DataTypeInfo< complex<r_8> >::getTypeName() { return(" complex<r_8> "); }
    26 
     49#endif
    2750
    2851
Note: See TracChangeset for help on using the changeset viewer.