MySQL 9.1.0
Source Code Documentation
anonymous_namespace{item_create.cc}::Instantiator< Function_class, Min_argc, Max_argc > Class Template Reference

Instantiates a function class with the list of arguments. More...

Public Member Functions

Iteminstantiate (THD *thd, PT_item_list *args)
 

Static Public Attributes

static const uint Min_argcount = Min_argc
 
static const uint Max_argcount = Max_argc
 

Detailed Description

template<typename Function_class, uint Min_argc, uint Max_argc = Min_argc>
class anonymous_namespace{item_create.cc}::Instantiator< Function_class, Min_argc, Max_argc >

Instantiates a function class with the list of arguments.

Template Parameters
Function_classThe class that implements the function. Does not need to inherit Item_func.
Min_argcThe minimum number of arguments. Not used in this general case.
Max_argcThe maximum number of arguments. Not used in this general case.

Member Function Documentation

◆ instantiate()

template<typename Function_class , uint Min_argc, uint Max_argc = Min_argc>
Item * anonymous_namespace{item_create.cc}::Instantiator< Function_class, Min_argc, Max_argc >::instantiate ( THD thd,
PT_item_list args 
)
inline

Member Data Documentation

◆ Max_argcount

template<typename Function_class , uint Min_argc, uint Max_argc = Min_argc>
const uint anonymous_namespace{item_create.cc}::Instantiator< Function_class, Min_argc, Max_argc >::Max_argcount = Max_argc
static

◆ Min_argcount

template<typename Function_class , uint Min_argc, uint Max_argc = Min_argc>
const uint anonymous_namespace{item_create.cc}::Instantiator< Function_class, Min_argc, Max_argc >::Min_argcount = Min_argc
static

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