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

Method run

hdr/sqlite_modern_cpp.h:490–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 std::size_t Boundary = Count
489 >
490 static typename std::enable_if<(sizeof...(Values) < Boundary), void>::type run(
491 database_binder& db,
492 Function&& function,
493 Values&&... values
494 ) {
495 typename std::remove_cv<typename std::remove_reference<nth_argument_type<Function, sizeof...(Values)>>::type>::type value{};
496 get_col_from_db(db, sizeof...(Values), value);
497
498 run<Function>(db, function, std::forward<Values>(values)..., std::move(value));
499 }
500
501 template<
502 typename Function,

Callers

nothing calls this directly

Calls 1

get_col_from_dbFunction · 0.85

Tested by

no test coverage detected