ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::container::function_n 命名空间参考

class  base_func_data_t
 
struct  base_func_data_t< Ret_t(Args_t...)>
 
class  base_function_t
 
struct  base_function_t< Ret_t(Args_t...) noexcept(nothrow), promise_nothrow_at_destruct >
 
class  default_func_data_t
 
struct  default_func_data_t< Ret_t(Args_t...)>
 
class  func_data_t
 
struct  func_data_t< T, Ret_t(Args_t...)>
 
class  function_data_saver_t
 
class  function_data_saver_t< Ret_t(Args_t...)>
 
struct  is_function_t_helper
 
struct  is_function_t_helper< base_function_t< T, promise_nothrow_at_destruct > >
 

类型定义

template<class T >
using function_t = base_function_t< T, true >
 
template<class T >
using may_throw_in_destruct_function_t = base_function_t< T, false >
 

函数

template<class Ret_t , class... Args_t>
constexpr base_func_data_t< Ret_t(Args_t...)> * the_get_null_ptr (const base_func_data_t< Ret_t(Args_t...)> *) noexcept
 
template<class T , bool promise_nothrow_at_destruct>
void swap (base_function_t< T, promise_nothrow_at_destruct > &a, base_function_t< T, promise_nothrow_at_destruct > &b) noexcept
 
template<typename T , bool promise_nothrow_at_destruct>
 base_function_t (T) -> base_function_t< get_function_type< T >, promise_nothrow_at_destruct >
 

变量

template<class Ret_t , class... Args_t>
default_func_data_t< Ret_t(Args_t...)> default_func_data {}
 
template<class T >
static constexpr bool is_function_t = is_function_t_helper<T>::value
 

类型定义说明

◆ function_t

◆ may_throw_in_destruct_function_t

函数说明

◆ base_function_t()

template<typename T , bool promise_nothrow_at_destruct>
elc::defs::container::function_n::base_function_t ( ) -> base_function_t< get_function_type< T >, promise_nothrow_at_destruct >

◆ swap()

template<class T , bool promise_nothrow_at_destruct>
void elc::defs::container::function_n::swap ( base_function_t< T, promise_nothrow_at_destruct > &  a,
base_function_t< T, promise_nothrow_at_destruct > &  b 
)
noexcept

在文件 all_defs.cpp24734 行定义.

24734 {
24735 a.swap_with(b);
24736 }
函数调用图:

◆ the_get_null_ptr()

template<class Ret_t , class... Args_t>
constexpr base_func_data_t< Ret_t(Args_t...)> * elc::defs::container::function_n::the_get_null_ptr ( const base_func_data_t< Ret_t(Args_t...)> *  )
constexprnoexcept

在文件 all_defs.cpp24227 行定义.

24227 {
24228 return&default_func_data<Ret_t,Args_t...>;
24229 }
default_func_data_t< Ret_t(Args_t...)> default_func_data

变量说明

◆ default_func_data

template<class Ret_t , class... Args_t>
default_func_data_t<Ret_t(Args_t...)> elc::defs::container::function_n::default_func_data {}
inline

在文件 all_defs.cpp24224 行定义.

24224{};

◆ is_function_t

template<class T >
constexpr bool elc::defs::container::function_n::is_function_t = is_function_t_helper<T>::value
staticconstexpr

在文件 all_defs.cpp24293 行定义.