http://llvm.org/bugs/show_bug.cgi?id=10390
Summary: Define std::getline in <string>, not <istream>
Product: libc++
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
By ยง 20.3 of the C++0x FDIS, the definitions for the free functions
std::getline(is, str[, delim]) should be defined in the <string> header, but
trunk libc++ defines them in the <istream> header.
I tried to compile Boost.Filesystem against clang and libc++ but got compiler
errors from boost/filesystem/v2/path.hpp correctly trying to call std::getline
without including <istream>. Adding "#include <istream>" to the file removed
the error, but the right fix would be to move said template function
definitions to their right place, i.e. to the <string> header.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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