Hi, I built a class called FracturePhaseFieldProblem<dim> , which contains a subclass called class Postprocessor,
template <int dim> class FracturePhaseFieldProblem { public: … private: … void output_results () const; class Postprocessor; … }; However when I want to declare a variable as the type FracturePhaseFieldProblem<2>::Postprocessor in function output_results (),I got the error: error: cannot declare variable ‘postprocessor’ to be of abstract type ‘FracturePhaseFieldProblem<2>::Postprocessor’ Thank you very much. Best, Yu -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/614d3444-46ca-4d32-9172-a7a5e3bf7a7bn%40googlegroups.com.