ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::memory::get_n::get_size_of_get_t结构体 参考

Public 成员函数

template<typename T >
requires able<T>
size_t operator() (const T *arg) const noexcept(nothrow< T >)
 

静态 Public 成员函数

template<typename T >
requires able<T>
static size_t base_call (const T *arg) noexcept(nothrow< T >)
 

静态 Public 属性

template<typename T >
static constexpr bool able =true
 
template<typename T >
static constexpr bool nothrow =noexcept(get_size_of_alloc((::std::declval< const T* >())))
 

详细描述

在文件 all_defs.cpp22018 行定义.

成员函数说明

◆ base_call()

template<typename T >
requires able<T>
static size_t elc::defs::memory::get_n::get_size_of_get_t::base_call ( const T *  arg)
inlinestaticnoexcept

在文件 all_defs.cpp22025 行定义.

22025 {
22026 const APIs::alloc::source_location_guard slg{1};
22027 return get_size_of_alloc(arg);
22028 }
constexpr T down_cast(U a) noexcept
向下转型至
constexpr struct elc::defs::memory::alloc_n::get_size_of_alloc_t get_size_of_alloc

◆ operator()()

template<typename T >
requires able<T>
size_t elc::defs::memory::get_n::get_size_of_get_t::operator() ( const T *  arg) const
inlinenoexcept

在文件 all_defs.cpp22031 行定义.

22031 {
22032 return base_call(arg);
22033 }
static size_t base_call(const T *arg) noexcept(nothrow< T >)

类成员变量说明

◆ able

template<typename T >
constexpr bool elc::defs::memory::get_n::get_size_of_get_t::able =true
staticconstexpr

在文件 all_defs.cpp22020 行定义.

◆ nothrow

template<typename T >
constexpr bool elc::defs::memory::get_n::get_size_of_get_t::nothrow =noexcept(get_size_of_alloc((::std::declval< const T* >())))
staticconstexpr

在文件 all_defs.cpp22022 行定义.


该结构体的文档由以下文件生成: