Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ main
Function
main
tests/StringViewNamespaceTest.cpp:5–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include <string_view>
4
5
int main(){
6
7
std::string str =
"Some string"
;
8
std::string_view strView = str;
9
10
std::cout <<
"strView : "
<< strView << std::endl;
11
}
12
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected