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

A read-only view of memory the caller owns: a dense_vector or dense2D with this storage is built over a const Value* and offers only const access. More...

#include <storage.hpp>

Detailed Description

A read-only view of memory the caller owns: a dense_vector or dense2D with this storage is built over a const Value* and offers only const access.

It never allocates, never frees and never writes; writing through it is a compile error. See vec::const_view and mat::const_view.


The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/tag/storage.hpp