Re: template behavior

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

 



Al Niessner wrote:
Has template behavior changed because I could not find a matching
changing in the change log at gcc.gnu.org?

I have code (octave-forge source to be specific) which contains the line

template std::map<std::string,std::string>;

the standard mandates a declaration there, you need template class std::map<std::string, std::string>;

[14.7.2] has all the gory details.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk



[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