boost_sqlite 1
A sqlite C++ library
|
Helper type to set a function through the xFindFunction callback. More...
#include <include/boost/sqlite/vtable.hpp>
Public Member Functions | |
template<typename Func > | |
void | set (Func &func) |
Helper type to set a function through the xFindFunction callback.
Definition at line 31 of file vtable.hpp.
|
inline |
Set the function
Func | The function type (either a lambda by ref or a pointer by copy) |
func | The function to be used |
The function can either take a single argument, a span<sqlite::value, N>
for scalar functions, or a context<Args...>
as first, and the span as second for aggegrate functions.
Definition at line 44 of file vtable.hpp.