http://llvm.org/bugs/show_bug.cgi?id=21564
Bug ID: 21564
Summary: 'std::defaultfloat' manipulator seems not to be
present
Product: libc++
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
clang++ compiler seems no to find the std::defaultfloat manipulator. I get an
error when trying to compile the following code:
#include <iostream>
using namespace std;
int main()
{
cout << defaultfloat << 1234;
}
I type the following in the command-line:
$clang++-3.4 precision_float.cxx -std=c++11 -Wall
And I obtain:
precision_float.cxx:15:10: error: use of undeclared identifier 'defaultfloat'
cout << defaultfloat
Am I doing something wrong?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs