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

struct  array_may_overlap_move_assign_t
 

Public 成员函数

constexpr array_may_overlap_move_assign_t operator[] (size_t a) const noexcept
 

静态 Public 成员函数

template<class T >
requires able<T>
static T * base_call (T *to, T *from, size_t size) noexcept(nothrow< T >)
 

详细描述

在文件 all_defs.cpp10156 行定义.

成员函数说明

◆ base_call()

template<class T >
requires able<T>
static T * elc::defs::memory::lifetime_n::move_assign_t::may_overlap_t::base_call ( T *  to,
T *  from,
size_t  size 
)
inlinestaticnoexcept

在文件 all_defs.cpp10158 行定义.

10158 {
10159 if constexpr(trivial<T>)
10160 ::std::memmove(to,add_const(from),size*sizeof(T));
10161 else
10162 while(size--)
10163 base_call(to[size],from[size]);
10164 return to;
10165 }
constexpr size_t size(::size_t v)
constexpr to_t< T > to(T v)
constexpr T down_cast(U a) noexcept
向下转型至
constexpr const T add_const(T a) noexcept
对值追加const
static T * base_call(T *to, T *from, size_t size) noexcept(nothrow< T >)
函数调用图:

◆ operator[]()

constexpr array_may_overlap_move_assign_t elc::defs::memory::lifetime_n::move_assign_t::may_overlap_t::operator[] ( size_t  a) const
inlineconstexprnoexcept

在文件 all_defs.cpp10181 行定义.

10181{return{a};}

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