MCPcopy 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
4struct Foo {
5 void bar() & { printf("lvalue\n"); }
6 void bar() && { printf("rvalue\n"); }
7};
8
9int main(){
10 Foo f;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by 1

mainFunction · 0.56