Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/te
/ draw
Function
draw
example/override.cpp:58–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
57
template <class T, class... Ts>
58
void draw(te::poly<T> const &drawable, const Ts... args) {
59
drawable.draw(std::cout, args...);
60
}
61
62
int main() {
63
draw<v1::Drawable>(Circle{}); // prints v1::Circle
Callers
nothing calls this directly
Calls
1
draw
Method · 0.45
Tested by
no test coverage detected