Subject: [Boost-bugs] [Boost C++ Libraries] #11554: lexical_cast<string>(124.4)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-18 15:53:07
#11554: lexical_cast<string>(124.4)
-----------------------+------------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
Severity: Problem | Keywords:
-----------------------+------------------------------
#include <string>
#include <iostream>
using std::cout;
using std::endl;
using std::string;
int _tmain(int argc, _TCHAR* argv[])
{
using boost::lexical_cast;
string out = lexical_cast<string>(124.4);
cout << "out = " << out << endl;
system("pause");
return 0;
}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11554> 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:18 UTC