specialized constructor in specialized class

me22 me22.ca@gmail.com
Tue Jun 29 18:30:00 GMT 2010


On 29 June 2010 08:28, Frank Winter <frank.winter@desy.de> 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



More information about the Gcc-help mailing list