Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ Foo
Class
Foo
tests/FunctionRefQualifierTest.cpp:4–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
#include <utility>
3
4
struct Foo {
5
void bar() & { printf(
"lvalue\n"
); }
6
void bar() && { printf(
"rvalue\n"
); }
7
};
8
9
int main(){
10
Foo f;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
1
main
Function · 0.56