Re: specialized constructor in specialized class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Scott!

Thanks for your reply!

Sorry, this did not solve it. The error message then
occurs 2 times. For each occurence of template<>

Frank


On Tue, 29 Jun 2010, me22 wrote:

On 29 June 2010 08:28, Frank Winter <frank.winter@xxxxxxx> wrote:

How can the specialized constructor be defined?


I think you do the following at namespace scope:

 template<>
 template<>
 Rcomplex<double>::RComplex(int arg)
 {
 }

(And no, the 2 template lines isn't a typo)

HTH,
~ Scott


--

Institut fuer theoretische Physik
Universitaet Regensburg
Universitaetsstr. 31
93053 Regensburg
Germany

office +49 (0)941 943 2085

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux