This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65124] New: wstring_convert not recognised as a template class.
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Feb 2015 17:14:20 +0000
- Subject: [Bug libstdc++/65124] New: wstring_convert not recognised as a template class.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65124
Bug ID: 65124
Summary: wstring_convert not recognised as a template class.
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: iains at gcc dot gnu.org
the following code snippet:
#include <codecvt>
namespace lldb_private {
class Editline
{
private:
std::wstring_convert<std::codecvt_utf8<wchar_t>> m_utf8conv;
};
}
g++ -std=c++11 -S
gives:
wstring-convert.cpp:8:11: error: âwstring_convertâ in namespace âstdâ does not
name a template type
std::wstring_convert<std::codecvt_utf8<wchar_t>> m_utf8conv;
on both linux and darwin.