Author
anonymous
over 3 years ago
Language
C++
Compiler
clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git c4ed142e695f14ba5675ec6d12226ee706329a0f)
Options
Boost 1.73.0
C++2b(GNU)
no pedantic
Author
anonymous
over 3 years ago
$ clang++ prog.cc -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2b
In file included from prog.cc:8:
In file included from /opt/wandbox/clang-head/include/c++/v1/sstream:184:
In file included from /opt/wandbox/clang-head/include/c++/v1/ostream:137:
/opt/wandbox/clang-head/include/c++/v1/ios:778:50: error: implicit instantiation of undefined template 'std::ctype<char16_t>'
return use_facet<ctype<char_type> >(getloc()).widen(__c);
^
/opt/wandbox/clang-head/include/c++/v1/ostream:843:29: note: in instantiation of member function 'std::basic_ios<char16_t>::widen' requested here
*__p = __os.widen(*__strn);
^
prog.cc:13:5: note: in instantiation of function template specialization 'std::__1::operator<<<char16_t, std::char_traits<char16_t>>' requested here
s << "abc\n";
^
/opt/wandbox/clang-head/include/c++/v1/__locale:519:52: note: template is declared here
template <class _CharT> class _LIBCPP_TEMPLATE_VIS ctype;
^
/opt/wandbox/clang-head/include/c++/v1/__locale:254:54: error: implicit instantiation of undefined template 'std::ctype<char16_t>'
return static_cast<const _Facet&>(*__l.use_facet(_Facet::id));
^
/opt/wandbox/clang-head/include/c++/v1/ios:778:12: note: in instantiation of function template specialization 'std::use_facet<std::ctype<char16_t>>' requested here
return use_facet<ctype<char_type> >(getloc()).widen(__c);
^
/opt/wandbox/clang-head/include/c++/v1/ostream:843:29: note: in instantiation of member function 'std::basic_ios<char16_t>::widen' requested here
*__p = __os.widen(*__strn);
^
prog.cc:13:5: note: in instantiation of function template specialization 'std::__1::operator<<<char16_t, std::char_traits<char16_t>>' requested here
s << "abc\n";
^
/opt/wandbox/clang-head/include/c++/v1/__locale:519:52: note: template is declared here
template <class _CharT> class _LIBCPP_TEMPLATE_VIS ctype;
^
2 errors generated.
Exit Code:
1