|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
内存视图容器 更多...
#include "NeForce/core/container/array.hpp"#include "NeForce/core/exception/breakpoint.hpp"#include "NeForce/core/iterator/normal_iterator.hpp"#include "NeForce/core/iterator/reverse_iterator.hpp"#include "NeForce/core/numeric/numeric_traits.hpp"#include "NeForce/core/utility/compressed_pair.hpp"类 | |
| class | memory_view< Element, Extent > |
| 内存视图模板 更多... | |
类型定义 | |
| using | byte_view = memory_view<byte_t> |
| 字节视图类型别名 | |
| using | cbyte_view = memory_view<const byte_t> |
| 常量字节视图类型别名 | |
变量 | |
| NEFORCE_INLINE17 constexpr size_t | dynamic_extent = numeric_traits<size_t>::max() |
| 动态范围标记,表示大小在运行时确定 | |
内存视图容器
此文件提供了内存视图容器的实现。 memory_view是一个非拥有(non-owning)的内存区域视图,提供对连续内存块的只读/读写访问, 不进行内存分配,性能高效。
在文件 memory_view.hpp 中定义.