Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.1 20190125 (experimental)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:10:53: error: no matching function for call to 'from_chars(const char*&, const char*&, long double&)'
   10 |     auto result = std::from_chars(begin, end, number);
      |                                                     ^
In file included from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/9.0.1/charconv:593:5: note: candidate: 'template<class _Tp> std::__detail::__integer_from_chars_result_type<_Tp> std::from_chars(const char*, const char*, _Tp&, int)'
  593 |     from_chars(const char* __first, const char* __last, _Tp& __value,
      |     ^~~~~~~~~~
/opt/wandbox/gcc-head/include/c++/9.0.1/charconv:593:5: note:   template argument deduction/substitution failed:
Exit Code:
1