MCPcopy Create free account
hub / github.com/SqliteModernCpp/sqlite_modern_cpp / tbl_functor

Method tbl_functor

tests/functors.cc:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10struct tbl_functor {
11 explicit tbl_functor(vector<pair<int, string> > &vec_) : vec(vec_) { }
12
13 void operator() ( int id, string name) {
14 vec.push_back(make_pair(id, move(name)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected