Changeset 3831 in Sophya for trunk/SophyaLib/TArray/tarray.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/tarray.h

    r3386 r3831  
    481481typedef TArray<r_8> Array;
    482482
     483//--------- extern template declarations (if needed) -----------
     484#if defined ( NEED_EXT_DECL_TEMP ) && !defined( TARRAY_CC_BFILE )
     485extern template class TArray<uint_1>;
     486extern template class TArray<uint_2>;
     487extern template class TArray<uint_4>;
     488extern template class TArray<uint_8>;
     489extern template class TArray<int_1>;
     490extern template class TArray<int_2>; 
     491extern template class TArray<int_4>;
     492extern template class TArray<int_8>;
     493extern template class TArray<r_4>;
     494extern template class TArray<r_8>;
     495extern template class TArray< complex<r_4> >;
     496extern template class TArray< complex<r_8> >;
     497#ifdef SO_LDBLE128
     498extern template class TArray<r_16>;
     499extern template class TArray< complex<r_16> >;
     500#endif
     501#endif  // Fin de if defined ( NEED_EXT_DECL_TEMP )
     502
    483503} // Fin du namespace
    484504
Note: See TracChangeset for help on using the changeset viewer.