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

Public 成员函数

bool operator() (array_like_view_t< const T >a, note::from_t< T * >from) const noexcept(nothrow< void >)
 

静态 Public 属性

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

详细描述

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

在文件 all_defs.cpp21740 行定义.

成员函数说明

◆ operator()()

template<typename T >
bool elc::defs::memory::get_n::get_t< T >::remove_t::operator() ( array_like_view_t< const T >  a,
note::from_t< T * >  from 
) const
inlinenoexcept

在文件 all_defs.cpp21746 行定义.

21746 {
21747 const APIs::alloc::source_location_guard slg;
21748 auto ptr=from.value;
21749 auto from_size=get_size_of_alloc(ptr);
21751 auto a_size=a.size();
21752 if(!ptr_to_a)
21753 return false;
21754
21758 return true;
21759 }
constexpr size_t size(::size_t v)
constexpr to_t< T > to(T v)
constexpr from_t< T > from(T v)
constexpr bool in_range(T pattern, const range_t< T >range) noexcept(noexcept((bool((::std::declval< T >())>=(::std::declval< const T >()) &&(::std::declval< T >())<=(::std::declval< const T >())))))
判断一个值是否在某个范围内
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_cut(T *&arg, size_t to_size) noexcept
constexpr struct elc::defs::memory::lifetime_n::destruct_t destruct
constexpr struct elc::defs::memory::lifetime_n::move_t move
函数调用图:

类成员变量说明

◆ able

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

在文件 all_defs.cpp21742 行定义.

◆ nothrow

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

在文件 all_defs.cpp21744 行定义.


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