MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::AllocatingMemorySpace Concept Reference

A memory space that can allocate and free storage for T. More...

#include <memory_space.hpp>

Concept definition

template<typename S, typename T double>
{ S::template allocate<T>(n) } -> std::same_as<detail::space_handle_t<S, T>>;
S::template deallocate<T>(h, n);
}
A memory space that can allocate and free storage for T.
Definition memory_space.hpp:236
A memory space: says where elements live and who may touch them.
Definition memory_space.hpp:213
typename space_handle< S, T >::type space_handle_t
Definition memory_space.hpp:230

Detailed Description

A memory space that can allocate and free storage for T.