Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/te
/ main
Function
main
example/unified.cpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
void draw(te::poly<Drawable> const &drawable) { drawable.draw(std::cout); }
47
48
int main() {
49
draw(Circle{}); // prints Non-member Circle
50
draw(Square{}); // prints Member Square
51
}
Callers
nothing calls this directly
Calls
1
draw
Function · 0.70
Tested by
no test coverage detected