| 180 | class ProcStatReader { |
| 181 | public: |
| 182 | bool operator()(ProcStat* stat) const { |
| 183 | return read_proc_status(*stat); |
| 184 | } |
| 185 | template <typename T, size_t offset> |
| 186 | static T get_field(void*) { |
| 187 | return *(T*)((char*)&CachedReader<ProcStat>::get_value( |
nothing calls this directly
no test coverage detected