ae2f::Core
Loading...
Searching...
No Matches
Alloc.hpp
Go to the documentation of this file.
1#include "./Alloc.h"
2
3#if !defined(ae2f_ds_Alloc_hpp)
4#define ae2f_ds_Alloc_hpp
5
6namespace ae2f { namespace Ds { namespace Alloc {
7 struct xrOwner;
8
12 template<const ae2f_ds_vAlloc* __imp>
13 struct vfDef {
14 static constexpr ae2f_ds_vAlloc* ___vRef() noexcept { return __imp; }
15 };
16}}}
17
18#include "Alloc/Defs.hpp"
19#include "Alloc/Ref.hpp"
20#include "Alloc/Own.hpp"
21
22namespace ae2f { namespace Ds { namespace Alloc {
23
24 constexpr cRefer::cRefer(const xrOwner& r) noexcept : cRefer(ae2f_ds_Alloc_cRef_Mk(&r)) {}
25
28 namespace cOwner {
34 }
35}}}
36
37#endif
#define ae2f_ds_Alloc_cRef_Mk(This)
Initialises the class for reffering.
Definition Ref.h:79
Definition Alloc.hpp:6
Definition Ref.hpp:15
constexpr cRefer() noexcept
A constructor for instance of class without any implementations.
Definition Ref.hpp:103
Definition Own.hpp:191
Definition Alloc.hpp:13
static constexpr ae2f_ds_vAlloc * ___vRef() noexcept
Definition Alloc.hpp:14
Definition Own.hpp:15
Structure for virtual function pointer.
Definition Alloc.h:20