Subject: [Boost-bugs] [Boost C++ Libraries] #10530: Attempting to define own lexical cast on solaris has to use deprected method
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-23 13:48:18
#10530: Attempting to define own lexical cast on solaris has to use deprected
method
-------------------------------------+--------------------------
Reporter: Tom Tanner <ttanner2@â¦> | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.55.0 | Severity: Regression
Keywords: |
-------------------------------------+--------------------------
In version 1.41 of boost, it was possible to do (eg this)
namespace boost
{
template <> bool lexical_cast(std::string const &s) { ... };
}
In 1.55 this stopped working on sun workshop compiler (Studio 12, version
5.12) saying 'can't find definition in namespace'.
I've had to revert to the deprecated pass-by-value declaration but I can't
find any documentation that indicates that this is necessary or why it
might have changed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10530> 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:17 UTC