Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
cppgres::function< Arg > Struct Template Reference

Public Types

using arg_types = decltype(make_arg_tuple(std::make_index_sequence< sizeof...(Arg) - 1 >{}))
 
using ret_type = std::tuple_element_t< sizeof...(Arg) - 1, std::tuple< Arg... > >
 
using self = function< Arg... >
 

Public Member Functions

 function (const char *schema, const char *name)
 
 function (std::string &schema, std::string &name)
 
 function (const char *name)
 
 function (std::string &name)
 
 function (oid oid)
 
ret_type operator() (auto... args)
 
const oidfunction_oid () const
 

Static Public Member Functions

template<std::size_t... I>
static auto make_arg_tuple (std::index_sequence< I... >) -> std::tuple< std::tuple_element_t< I, std::tuple< Arg... > >... >
 
template<typename... Args>
static constexpr bool convertible_args ()
 

The documentation for this struct was generated from the following file: