On 09/10/2016 10:33 AM, [email protected] wrote:
Hello Wolfgang,

Yes, I do explicitly instantiate these templates in my code. The datatype is
different from what is already defined in deal.II. Something like:
#include <deal.II/lac/vector.h>
#include <deal.II/lac/vector.templates.h>
template class Vector<myNumberClass>;

But these two guys:
dealii::Vector<std::complex<float> >::operator=(std::complex<float>)
and
dealii::Vector<int>::lp_norm(int) const
are explicitly instantiated in vector.templates.h (lines 855 and 1476).

Ah, I see. Good point. Yes, moving these two functions into the .cc file and leaving a *declaration* of the explicit instantiation in the .h file is the right solution.

Want to try writing a patch for this? We'd be happy to merge it!

Best
 Wolfgang

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to