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

Instantiates a function class with one or two arguments. More...

Public Member Functions

Iteminstantiate (THD *thd, PT_item_list *args)
 

Static Public Attributes

static const uint Min_argcount = 1
 
static const uint Max_argcount = 2
 

Detailed Description

template<typename Function_class>
class anonymous_namespace{item_create.cc}::Instantiator< Function_class, 1, 2 >

Instantiates a function class with one or two arguments.

Template Parameters
Function_classThe class that implements the function. Does not need to inherit Item_func.

Member Function Documentation

◆ instantiate()

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

Member Data Documentation

◆ Max_argcount

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

◆ Min_argcount

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

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