xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
静态 Public 属性 | 所有成员列表
xcmath::Slice< _idx > 模板结构体 参考

Compile-time index sequence for vector slicing operations 更多...

#include <declaration.hpp>

静态 Public 属性

static constexpr size_t length
 Number of elements in slice
 

详细描述

template<size_t... _idx>
struct xcmath::Slice< _idx >

Compile-time index sequence for vector slicing operations

模板参数
_idxParameter pack of indices defining the slice
注解
Used to create view-like slices of vectors without copying data

在文件 declaration.hpp23 行定义.

类成员变量说明

◆ length

template<size_t... _idx>
constexpr size_t xcmath::Slice< _idx >::length
staticconstexpr
初始值:
=
sizeof...(_idx)

Number of elements in slice

在文件 declaration.hpp24 行定义.


该结构体的文档由以下文件生成: