How you convert a std::string_view to a const char*?

前端 未结 3 703
误落风尘
误落风尘 2021-01-03 18:04

Compiling with gcc-7.1 with the flag -std=c++17, the following program raises an error:

#include 
void foo(const char* cstr)          


        
3条回答
提交回复
热议问题