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