We can use the __glibcxx_string_view macro to guard the uses of
std::string_view in , instead of just checking the value of
__cplusplus. It makes no practical difference because
__glibcxx_string_view is defined for C++17 and up, but it makes it clear
to readers that the lines guarded by that macro
On Fri, Apr 4, 2025 at 11:08 AM Jonathan Wakely wrote:
> We can use the __glibcxx_string_view macro to guard the uses of
> std::string_view in , instead of just checking the value of
> __cplusplus. It makes no practical difference because
> __glibcxx_string_view is defined for C++17 and up, but i