This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/65124] New: wstring_convert not recognised as a template class.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]