Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9189: Solaris Studio 12.3, boost::log: explicit template instantiations need "template<>"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-05 11:09:48
#9189: Solaris Studio 12.3, boost::log: explicit template instantiations need
"template<>"
--------------------------------------------------+---------------------
Reporter: Brian Vandenberg <phantall+boost@â¦> | Owner: andysem
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: log
Version: Boost 1.54.0 | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------------------+---------------------
Changes (by andysem):
* status: new => closed
* resolution: => wontfix
Comment:
The suggested change is not correct. "template<>" prepends a full
specialization of a template (making the code a forward declaration of a
full specialization. "template", on the other hand, is a prefix for
explicit instantiation of the template. This instantiation is required so
that the generated code is present in the compiled binary and not
discarded.
I tried this compiler locally on Linux and it failed in many respects,
including problems with other libraries (Boost.Phoenix, AFAIR). For the
amount of problems with this compiler I'm inclined to mark it as not
supported. I've already added a note about it in the docs.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9189#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC