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

Public 成员函数

template<class... Args>
requires able<T,Args...>
T * operator() (Args &&...rest) const noexcept(nothrow< T, Args... >)
 
constexpr array_re_construct_t< T > operator[] (size_t size) const noexcept
 

Public 属性

T * _to
 

详细描述

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

在文件 all_defs.cpp9755 行定义.

成员函数说明

◆ operator()()

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

在文件 all_defs.cpp9758 行定义.

9758 {
9759 destruct(_to);
9761 return _to;
9762 }
constexpr T down_cast(U a) noexcept
向下转型至
constexpr struct elc::defs::memory::lifetime_n::destruct_t destruct

◆ operator[]()

template<class T >
constexpr array_re_construct_t< T > elc::defs::memory::lifetime_n::re_construct_t::placement_re_construct_t< T >::operator[] ( size_t  size) const
inlineconstexprnoexcept

在文件 all_defs.cpp9763 行定义.

9763{return{_to,size};}
constexpr size_t size(::size_t v)

类成员变量说明

◆ _to


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