Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/di
/ read_impl
Method
read_impl
doc/cppnow-2017/example/static_polymorphism.cpp:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
struct Reader {
7
int read() { return static_cast<T*>(this)->read_impl(); }
8
int read_impl() { return 0; }
9
};
10
11
struct FileReader : Reader<FileReader> {
Callers
1
read
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected