Skip to content
Snippets Groups Projects
  • Jonathan Wakely's avatar
    6c22fe41
    libstdc++: Fix <ostream> and <istream> for -std=gnu++14 -fconcepts [PR116070] · 6c22fe41
    Jonathan Wakely authored
    This questionable combination of flags causes a number of errors. The
    ones in the rvalue stream overloads need to be fixed in the gcc-14
    branch so I'm committing it separately to simplify backporting.
    
    libstdc++-v3/ChangeLog:
    
    	PR libstdc++/116070
    	* include/std/istream: Check feature test macro before using
    	is_class_v and is_same_v.
    	* include/std/ostream: Likewise.
    6c22fe41
    History
    libstdc++: Fix <ostream> and <istream> for -std=gnu++14 -fconcepts [PR116070]
    Jonathan Wakely authored
    This questionable combination of flags causes a number of errors. The
    ones in the rvalue stream overloads need to be fixed in the gcc-14
    branch so I'm committing it separately to simplify backporting.
    
    libstdc++-v3/ChangeLog:
    
    	PR libstdc++/116070
    	* include/std/istream: Check feature test macro before using
    	is_class_v and is_same_v.
    	* include/std/ostream: Likewise.