xgboost
xgboost::common::detail::ExtentAsBytesValue< T, Extent > Struct Template Reference

#include <span.h>

Inheritance diagram for xgboost::common::detail::ExtentAsBytesValue< T, Extent >:
Inheritance graph
Collaboration diagram for xgboost::common::detail::ExtentAsBytesValue< T, Extent >:
Collaboration graph

Detailed Description

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

If N is dynamic_extent, the extent of the returned span E is also dynamic_extent; otherwise it is detail::ptrdiff_t(sizeof(T)) * N.


The documentation for this struct was generated from the following file: