Patch: Expanding Supported Explicit Instantiations

Mark Mitchell mark at codesourcery.com
Fri May 25 17:58:23 UTC 2001


>>>>> "Jeffrey" == Jeffrey Oldham <oldham at codesourcery.com> writes:

    Jeffrey> I do not know the correct syntax for explicitly
    Jeffrey> instantiating View1's const static bool `sv' if this is

For:

  template <class T> { 
    static int x;
  };

you do like this:

  template int S<double>::x;

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the pooma-dev mailing list