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

Method iterate

hdr/sqlite_modern_cpp.h:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52 template<typename Tuple, int Element = 0, bool Last = (std::tuple_size<Tuple>::value == Element)> struct tuple_iterate {
53 static void iterate(Tuple& t, database_binder& db) {
54 get_col_from_db(db, Element, std::get<Element>(t));
55 tuple_iterate<Tuple, Element + 1>::iterate(t, db);
56 }
57 };
58
59 template<typename Tuple, int Element> struct tuple_iterate<Tuple, Element, true> {

Callers

nothing calls this directly

Calls 1

get_col_from_dbFunction · 0.85

Tested by

no test coverage detected