Mercurial > octave
comparison liboctave/array/Sparse-b.cc @ 29247:d83ae0145030
Export template class instantiations with clang (patch #8919).
* Array.cc (INSTANTIATE_ARRAY), MArray.cc (INSTANTIATE_MARRAY),
Sparse.cc (INSTANTIATE_SPARSE): Add API tags to template class instantiations
with clang.
* MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc, MArray-i.cc, MArray-s.cc:
Use new macro function for template class instantiation.
* Sparse-b.cc, Sparse-C.cc, Sparse-d.cc: Remove API argument.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 02 Jan 2021 16:36:09 +0100 |
parents | a009cb8ef68f |
children | 7854d5752dd2 |
comparison
equal
deleted
inserted
replaced
29246:1b2845593788 | 29247:d83ae0145030 |
---|---|
38 Sparse<bool>::SparseRep::any_element_is_nan (void) const | 38 Sparse<bool>::SparseRep::any_element_is_nan (void) const |
39 { | 39 { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 INSTANTIATE_SPARSE (bool, ); | 43 INSTANTIATE_SPARSE (bool); |
44 | 44 |
45 #if 0 | 45 #if 0 |
46 template std::ostream& operator << (std::ostream&, const Sparse<bool>&); | 46 template std::ostream& operator << (std::ostream&, const Sparse<bool>&); |
47 #endif | 47 #endif |