Topic: Template Specialization syntax question


Author: nbecker@fred.net
Date: 1998/09/10
Raw View
Here is a template class with a member template constructor:

template<class T>
class A {
public:
  template<class I> A (const I& a, const I& b);
};

How do I declare and define a specialization of the constructor for
the case where the args are a specific type, e.g., int?


[ 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://reality.sgi.com/austern_mti/std-c++/faq.html              ]