Topic: default template arguments
Author: Carl Barron <cbarron413@adelphia.net>
Date: Thu, 1 Feb 2007 14:36:18 CST Raw View
is the following a legal specialization of
template <class A,class B=void> struct foo{};
template<>struct foo<int>{}; or is it required to be
template<> struct foo<int,void>{}; ???
chapter and verse please of accepted standard appreciated.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]