6namespace ae2f {
namespace Ds {
namespace Arr {
120 public __def<Pack<T>>
157#pragma region non_trivial writing
176 template<
typename... Args>
183 typename _f::El_t el[1] = { Read(idx, code) };
193 new(el->c) T(args...);
222 typename _f::El_t el[1] = { Read(idx, code) };
#define _ae2f_ds_Alloc_FndFun(This, Name)
Definition Alloc.h:53
#define ae2f_static_cast(t, v)
Definition Cast.h:49
#define ae2f_reinterpret_cast(t, v)
Definition Cast.h:57
ae2f_extern ae2f_errint_t ae2f_errGlob_LastErr
Definition errGlob.h:52
#define ae2f_errGlob_OK
The Operation you've wanted went successful.
Definition errGlob.h:14
#define ae2f_errGlob_DONE_HOWEV
The operation went done. Note that operation may not be valid.
Definition errGlob.h:46
uint8_t ae2f_errint_t
Informs that this number represents the error.
Definition errGlob.h:10
#define ae2f_errGlob_IMP_NOT_FOUND
Failed to find the function on preprocessor which is callable for some reason No operation has beed d...
Definition errGlob.h:19
ae2f_ds_Alloc_cRef rRefer
Definition Defs.hpp:19
constexpr ae2f_errint_t EL_NON_VALID
The element has not been yet constructed.
Definition Defs.hpp:47
ae2f_errint_t Write(size_t idx, const void *src, size_t srcsize) noexcept
Sets data to a class.
Definition Ref.hpp:49
ae2f_errint_t Read(size_t idx, void *buff, size_t elsize) const noexcept
Gets data from a class.
Definition Ref.hpp:31
ae2f_errint_t Write(size_t i, const void *src, size_t srclen) noexcept
Sets data to a class.
Definition Own.hpp:50
constexpr __Refer(const __Refer< T, 0 > &&src)
Definition Ref.hpp:244
const _f::El_t Read(size_t index, ae2f_errint_t *perr=0) const noexcept
Gets data from a class.
Definition Ref.hpp:140
constexpr __Refer(const __Owner< T, 0 > &src)
Definition Ref.hpp:247
ae2f_errint_t Write(size_t idx) noexcept
Sets data to a class.
Definition Ref.hpp:216
ae2f_errint_t Write(size_t idx, Args &&...args) noexcept
Sets data to a class.
Definition Ref.hpp:177
constexpr __Refer(const __Refer< T, 0 > &src)
Definition Ref.hpp:241
constexpr __Refer(const __Owner< T, 0 > &&src)
Definition Ref.hpp:250
ae2f_errint_t Write(size_t idx, const typename _f::El_t &&el) noexcept
Sets data to a class.
Definition Ref.hpp:91
ae2f_errint_t Write(size_t idx, const typename _f::El_t &el) noexcept
Sets data to a class.
Definition Ref.hpp:69
const _f::El_t Read(size_t index, ae2f_errint_t *perr=&ae2f_errGlob_LastErr) const noexcept
Gets data from a class.
Definition Ref.hpp:41
constexpr __Refer(const Alloc::rRefer &src)
Definition Ref.hpp:99
constexpr __Refer(const Alloc::rRefer &&src)
Definition Ref.hpp:102
A helper class for getting element type and element size.
Definition Pack.hpp:13
T El_t
Definition Pack.hpp:19
A value package for non-trivial classes. Which will not call the destructor of [T].
Definition Pack.hpp:32
T Obj
Definition Pack.hpp:63
constexpr bool isvalid() const noexcept
Check if ae2f::Ds::Arr::Pack<T>::Obj is valid.
Definition Pack.hpp:67