Re: specialized constructor in specialized class

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

 



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



[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