Changeset 3831 in Sophya for trunk/SophyaLib/TArray/tmatrix.h


Ignore:
Timestamp:
Aug 5, 2010, 2:16:20 PM (15 years ago)
Author:
ansari
Message:

Introduction et gestion du flag preprocesseur NEED_EXT_DECL_TEMP pour declaration extern des classes template avec instantiation explicite (pb dynamic_cast sur Mac OS 10.6), Reza 05/08/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/tmatrix.h

    r2884 r3831  
    242242typedef TMatrix<r_8> Matrix;
    243243
     244//--------- extern template declarations (if needed) -----------
     245#if defined ( NEED_EXT_DECL_TEMP ) && !defined( TMATRIX_CC_BFILE )
     246extern template class TMatrix<uint_1>;
     247extern template class TMatrix<uint_2>;
     248extern template class TMatrix<uint_4>;
     249extern template class TMatrix<uint_8>;
     250extern template class TMatrix<int_1>;
     251extern template class TMatrix<int_2>;
     252extern template class TMatrix<int_4>;
     253extern template class TMatrix<int_8>;
     254extern template class TMatrix<r_4>;
     255extern template class TMatrix<r_8>;
     256extern template class TMatrix< complex<r_4> >;
     257extern template class TMatrix< complex<r_8> >;
     258#ifdef SO_LDBLE128
     259extern template class TMatrix<r_16>;
     260extern template class TMatrix< complex<r_16> >;
     261#endif
     262#endif  // Fin de if defined ( NEED_EXT_DECL_TEMP )
     263
     264
    244265} // Fin du namespace
    245266
Note: See TracChangeset for help on using the changeset viewer.