|
HFSQtLi 0.0.1
A Qt/C++ wrapper for SQLite3.
|
Template struct used to pass a callback that will be called upon fetching values. More...
#include <HFSQtLi.h>
Public Member Functions | |
| Call (const Helper::TypeUnusedRefBoolFunction< T... > &&f) | |
| constexpr auto const & | function () const |
Protected Attributes | |
| Helper::TypeUnusedRefBoolFunction< T... > | m_function |
Template struct used to pass a callback that will be called upon fetching values.
This struct will be instantiated with a list of types. Passing it to a function fetching data it will read that set of data and upon succesfully fetching it call the callback given to the constructor. Callback should have a signature:
The callback will have to return true on success or false on error
Example usage: