Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
R
riscv-gcc-1
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • lvzhengyang
  • riscv-gcc-1
  • Repository

Switch branch/tag
  • riscv-gcc-1
  • libstdc++-v3
  • testsuite
  • 20_util
  • to_chars
  • 1.cc
Find file
BlameHistoryPermalink
  • Jonathan Wakely's avatar
    libstdc++: Restore ability to use <charconv> in C++14 (PR 94520) · c104e8f1
    This C++17 header is supported in C++14 as a GNU extension, but stopped
    working last year because I made it depend on an internal helper which
    is only defined for C++17 and up.
    
    	PR libstdc++/94520
    	* include/std/charconv (__integer_to_chars_result_type)
    	(__integer_from_chars_result_type): Use __or_ instead of __or_v_ to
    	allow use in C++14.
    	* testsuite/20_util/from_chars/1.cc: Run test as C++14 and replace
    	use of std::string_view with std::string.
    	* testsuite/20_util/from_chars/2.cc: Likewise.
    	* testsuite/20_util/to_chars/1.cc: Likewise.
    	* testsuite/20_util/to_chars/2.cc: Likewise.
    Jonathan Wakely committed Apr 07, 2020
    c104e8f1
1.cc 27.1 KB
Edit