[Bug libstdc++/65124] New: wstring_convert not recognised as a template class.
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 19 17:14:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list