This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with explicit template explicit instantiations mixed with forward declaration
- From: John Love-Jensen <eljay at adobe dot com>
- To: <nicos at maunakeatech dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Wed, 30 Nov 2005 13:46:25 -0600
- Subject: Re: Problem with explicit template explicit instantiations mixed with forward declaration
Hi nicos,
Put this in after your class:
template<class T>
const unsigned int A<T>::n;
HTH,
--Eljay