xgboost

xgboost::common::detail::ExtentValue< Extent, Offset, Count > Struct Template Reference

`#include <span.h>`

Inheritance diagram for xgboost::common::detail::ExtentValue< Extent, Offset, Count >:
Collaboration diagram for xgboost::common::detail::ExtentValue< Extent, Offset, Count >:

## Detailed Description

### template<std::size_t Extent, std::size_t Offset, std::size_t Count>
struct xgboost::common::detail::ExtentValue< Extent, Offset, Count >

The extent E of the span returned by subspan is determined as follows:

- If Count is not dynamic_extent, Count;
- Otherwise, if Extent is not dynamic_extent, Extent - Offset;
- Otherwise, dynamic_extent.

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

- /home/runner/work/xgboost/xgboost/include/xgboost/span.h