Function CallbackHolder

Synopsis

#include <orm_lib/inc/drogon/orm/SqlBinder.h>

CallbackHolder(Function &&function)

Description

No description yet.

Source

Lines 169-174 in orm_lib/inc/drogon/orm/SqlBinder.h.

CallbackHolder(Function &&function)
    : function_(std::forward<Function>(function))
{
    static_assert(traits::isSqlCallback,
                  "Your sql callback function type is wrong!");
}





Add Discussion as Guest

Log in to DocsForge