Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/te
/ draw
Method
draw
example/concepts.cpp:16–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
struct Drawable {
16
void draw(std::ostream &out) const {
17
te::call([](auto const &self,
18
auto &out) -> decltype(self.draw(out)) { self.draw(out); },
19
*this, out);
20
}
21
};
22
23
struct Square {
Callers
nothing calls this directly
Calls
1
call
Function · 0.50
Tested by
no test coverage detected