Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/di
/ show
Method
show
doc/cppnow-2017/example/static_polymorphism.cpp:25–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
template <class T>
24
struct Viewer {
25
void show(int value) { static_cast<T*>(this)->show_impl(value); }
26
void show_impl(int) {}
27
};
28
Callers
1
run
Method · 0.45
Calls
1
show_impl
Method · 0.45
Tested by
no test coverage detected