ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::memory::lifetime_n::re_construct_t::array_re_construct_t< T > 模板结构体 参考

Public 成员函数

template<class... Args>
requires able<T,Args...>
T * operator() (Args &&...rest) const noexcept(nothrow< T, Args... >)
 

Public 属性

T * _to
 
size_t _size
 

详细描述

template<class T>
struct elc::defs::memory::lifetime_n::re_construct_t::array_re_construct_t< T >

在文件 all_defs.cpp9742 行定义.

成员函数说明

◆ operator()()

template<class T >
template<class... Args>
requires able<T,Args...>
T * elc::defs::memory::lifetime_n::re_construct_t::array_re_construct_t< T >::operator() ( Args &&...  rest) const
inlinenoexcept

在文件 all_defs.cpp9746 行定义.

9746 {
9747 if constexpr(type_info<T>.has_attribute(never_in_array))
9748 template_error("You cannot perform array operations on never_in_array type.");
9749 destruct[_size](_to);
9751 return _to;
9752 }
#define template_error(reason)
Definition all_defs.cpp:559
constexpr T down_cast(U a) noexcept
向下转型至
constexpr struct elc::defs::memory::lifetime_n::destruct_t destruct

类成员变量说明

◆ _size

在文件 all_defs.cpp9744 行定义.

◆ _to


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