Changeset 2867 in Sophya for trunk/SophyaLib/BaseTools
- Timestamp:
- Jan 3, 2006, 3:18:57 PM (20 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/datatype.cc
r2615 r2867 6 6 #include "sopnamsp.h" 7 7 #include "datatype.h" 8 #include "typeinfo.h" 8 9 9 10 #include <complex> … … 13 14 { 14 15 } 15 #if defined(__SGICC__) 16 #if defined(__SGICC__) || defined(__IBMCPP__) 16 17 template <class T> 17 18 string DataTypeInfo<T>::getTypeName() … … 116 117 117 118 #if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES) 119 namespace SOPHYA { 118 120 template class DataTypeInfo<uint_1>; 119 121 template class DataTypeInfo<uint_2>; … … 127 129 template class DataTypeInfo< complex<r_4> >; 128 130 template class DataTypeInfo< complex<r_8> >; 131 } 129 132 #endif -
trunk/SophyaLib/BaseTools/fiondblock.cc
r2805 r2867 186 186 187 187 #if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES) 188 namespace SOPHYA { 188 189 // Instances des delegues FileIO (PPersist) 189 190 template class FIO_NDataBlock<uint_1>; … … 198 199 template class FIO_NDataBlock< complex<r_4> >; 199 200 template class FIO_NDataBlock< complex<r_8> >; 201 } 200 202 #endif -
trunk/SophyaLib/BaseTools/machdefs_mkmf.h
r2615 r2867 321 321 #ifndef ANSI_TEMPLATES 322 322 #define ANSI_TEMPLATES 323 #endif 323 324 #undef DECL_TEMP_SPEC 324 325 #define DECL_TEMP_SPEC template <> 325 326 #endif 327 328 #if defined(__IBMCPP__) 329 /* IBM xlC compiler support Added : dec 2005 */ 330 #ifndef ANSI_TEMPLATES 331 #define ANSI_TEMPLATES 332 #endif 333 #undef DECL_TEMP_SPEC 334 #define DECL_TEMP_SPEC template <> 326 335 #endif 327 336 -
trunk/SophyaLib/BaseTools/ndatablock.cc
r2657 r2867 789 789 790 790 #if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES) 791 namespace SOPHYA { 791 792 template class NDataBlock<uint_1>; 792 793 template class NDataBlock<uint_2>; … … 800 801 template class NDataBlock< complex<r_4> >; 801 802 template class NDataBlock< complex<r_8> >; 803 } 802 804 #endif
Note:
See TracChangeset
for help on using the changeset viewer.