👩💻 Join our community of thousands of amazing developers!
diff --git a/reference/mdspan/extents/rank.md b/reference/mdspan/extents/rank.md new file mode 100644 index 000000000..fc1e9e5ad --- /dev/null +++ b/reference/mdspan/extents/rank.md @@ -0,0 +1,65 @@ +# rank +* mdspan[meta header] +* function[meta id-type] +* std[meta namespace] +* extents[meta class] +* cpp23[meta cpp] + +```cpp +static constexpr rank_type rank() noexcept; +``` + +## 概要 +多次元配列サイズの次元数を取得する。 + + +## 戻り値 +`sizeof...(Extents)` + + +## 例外 +投げない + + +## 例 +```cpp example +#include <md...