On Thu, 27 Oct 2011, John Peterson wrote: > We're specializing the behavior of n_dofs() for different template > arguments; it follows that we should probably use the template > specialization syntax to do so.
Here's the catch: template specialization doesn't exist for templated functions in C++, only for templated classes. I assume that's why we've been "cheating" by trying to trick the linker in the first place. The "right" thing to do is probably to indeed provide specialized declarations/definitions for the whole subclass in each case, but that's going to be an annoyingly huge amount of code. --- Roy ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
