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

Public 成员函数

T * operator() (note::to_t< T *& > to, array_like_view_t< const T >a) const noexcept(nothrow< void >)
 
T * operator() (note::to_t< T *& > to, const T &a) const noexcept(nothrow< void >)
 
T * operator() (note::to_t< T *& > to, T &&a) const noexcept(nothrow< void >)
 

静态 Public 属性

template<typename U >
static constexpr bool able =copy_construct.able<T>&&move.able<T>&&is_array_like_for<T,U>
 
template<typename U >
static constexpr bool nothrow =copy_construct.nothrow<T>&&move.nothrow<T>
 

详细描述

template<typename T>
struct elc::defs::memory::get_n::get_t< T >::apply_end_t

在文件 all_defs.cpp21707 行定义.

成员函数说明

◆ operator()() [1/3]

template<typename T >
T * elc::defs::memory::get_n::get_t< T >::apply_end_t::operator() ( note::to_t< T *& >  to,
array_like_view_t< const T >  a 
) const
inlinenoexcept

在文件 all_defs.cpp21713 行定义.

21713 {
21714 const APIs::alloc::source_location_guard slg;
21715 auto&ptr=to.value;
21716 auto from_size=get_size_of_alloc(ptr);
21717 auto a_size=a.size();
21720 return ptr;
21721 }
constexpr to_t< T > to(T v)
constexpr from_t< T > from(T v)
constexpr T down_cast(U a) noexcept
向下转型至
comn_ptr_t< node_like > ptr
constexpr struct elc::defs::memory::alloc_n::get_size_of_alloc_t get_size_of_alloc
void alloc_size_grow(T *&arg, size_t to_size) noexcept(move.trivial< T > or move.nothrow< T >)
constexpr struct elc::defs::memory::lifetime_n::copy_construct_t copy_construct
函数调用图:

◆ operator()() [2/3]

template<typename T >
T * elc::defs::memory::get_n::get_t< T >::apply_end_t::operator() ( note::to_t< T *& >  to,
const T &  a 
) const
inlinenoexcept

在文件 all_defs.cpp21722 行定义.

21722 {
21723 const APIs::alloc::source_location_guard slg;
21724 auto&ptr=to.value;
21725 auto from_size=get_size_of_alloc(ptr);
21728 return ptr;
21729 }
函数调用图:

◆ operator()() [3/3]

template<typename T >
T * elc::defs::memory::get_n::get_t< T >::apply_end_t::operator() ( note::to_t< T *& >  to,
T &&  a 
) const
inlinenoexcept

在文件 all_defs.cpp21730 行定义.

21730 {
21731 const APIs::alloc::source_location_guard slg;
21732 auto&ptr=to.value;
21733 auto from_size=get_size_of_alloc(ptr);
21736 return ptr;
21737 }
constexpr struct elc::defs::memory::lifetime_n::move_construct_t move_construct
函数调用图:

类成员变量说明

◆ able

template<typename T >
template<typename U >
constexpr bool elc::defs::memory::get_n::get_t< T >::apply_end_t::able =copy_construct.able<T>&&move.able<T>&&is_array_like_for<T,U>
staticconstexpr

在文件 all_defs.cpp21709 行定义.

◆ nothrow

template<typename T >
template<typename U >
constexpr bool elc::defs::memory::get_n::get_t< T >::apply_end_t::nothrow =copy_construct.nothrow<T>&&move.nothrow<T>
staticconstexpr

在文件 all_defs.cpp21711 行定义.


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