From: Wolfgang Bangerth Date: Fri, 4 Jun 2004 16:29:31 +0000 (+0000) Subject: More fixed instantiations. X-Git-Tag: v8.0.0~15073 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cba8cc3f16a35479de8c9ad73d9a227b6a3beec;p=dealii.git More fixed instantiations. git-svn-id: https://svn.dealii.org/trunk@9386 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/block_vector.cc b/deal.II/lac/source/block_vector.cc index fc66399329..0358913840 100644 --- a/deal.II/lac/source/block_vector.cc +++ b/deal.II/lac/source/block_vector.cc @@ -17,6 +17,11 @@ template class BlockVector; template class BlockVector; +#ifndef DEAL_II_EXPLICIT_CONSTRUCTOR_BUG +template BlockVector::BlockVector (const BlockVector &); +template BlockVector::BlockVector (const BlockVector &); +#endif + template void BlockVector::reinit(const BlockVector&, const bool); template void BlockVector::reinit(const BlockVector&, diff --git a/deal.II/lac/source/vector.cc b/deal.II/lac/source/vector.cc index 9c57dc77b3..dbb20d9885 100644 --- a/deal.II/lac/source/vector.cc +++ b/deal.II/lac/source/vector.cc @@ -17,7 +17,9 @@ // explicit instantiations template class Vector; +#ifndef DEAL_II_EXPLICIT_CONSTRUCTOR_BUG template Vector::Vector (const Vector &); +#endif template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&); template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; @@ -33,7 +35,9 @@ template void Vector::scale(const Vector&); template class Vector; +#ifndef DEAL_II_EXPLICIT_CONSTRUCTOR_BUG template Vector::Vector (const Vector &); +#endif template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&); template bool Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==(const Vector&) const; diff --git a/deal.II/lac/source/vector.long_double.cc b/deal.II/lac/source/vector.long_double.cc index 494a564ca1..46449c65ba 100644 --- a/deal.II/lac/source/vector.long_double.cc +++ b/deal.II/lac/source/vector.long_double.cc @@ -17,11 +17,13 @@ // explicit instantiations template class Vector; +#ifndef DEAL_II_EXPLICIT_CONSTRUCTOR_BUG template Vector::Vector (const Vector &); template Vector::Vector (const Vector &); template Vector::Vector (const Vector &); template Vector::Vector (const Vector &); +#endif template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&); template Vector& Vector::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=(const Vector&);