On 02/04/2018 08:52 AM, heikki wrote:


foo.cpp:
|
namespace pdd {
/* Definition ... */
/* Instantiation: */
template class PProblem<2> p_test_problem;
}
|

I suspect that the last line here is supposed to be an *explicit instantiation* of the main class, but I think it's really just a variable declaration. It should really just be
  template class PProblem<2>;

Take a look also here:
https://stackoverflow.com/questions/2351148/explicit-instantiation-when-is-it-used

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to