Allocation class
#include <src/microserve/memory.cppm>
Constructors, destructors, conversion operators
- Allocation() defaulted
- ~Allocation()
- Allocation(const Allocation& other)
- Allocation(Allocation&& other) noexcept
- operator bool() const explicit noexcept
Public functions
- auto operator=(const Allocation& other) -> Allocation&
- auto operator=(Allocation&& other) -> Allocation& noexcept
- auto data() const -> std::byte* noexcept
- auto size() const -> std::size_t noexcept
- void touch() const noexcept