xgboost
xgboost::common::detail::ExtentAsBytesValue< T, Extent > 结构体模板参考

#include <span.h>

xgboost::common::detail::ExtentAsBytesValue< T, Extent > 的继承图
Inheritance graph
xgboost::common::detail::ExtentAsBytesValue< T, Extent > 的协作图
Collaboration graph

详细描述

template<typename T, std::size_t Extent>
struct xgboost::common::detail::ExtentAsBytesValue< T, Extent >

如果 N 是 dynamic_extent,则返回的 span E 的范围也是 dynamic_extent;否则它是 std::size_t(sizeof(T)) * N。


此结构体的文档是从以下文件生成的