On Thu, 27 Oct 2011, John Peterson wrote:
> On Thu, Oct 27, 2011 at 12:05 PM, Roy Stogner <[email protected]> > wrote: >> >> 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. > > 14.7.2 p1 of my standard draft states: > > "A class, a function or member template specialization can be > explicitly instantiated from its template." > > Perhaps you are thinking of *partial* specialization for template > functions? That is not allowed AFAIK. Ah, right; that's how I got confused. Thanks. --- 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
