👩💻 Join our community of thousands of amazing developers!
diff --git a/reference/mdspan/mdspan/swap_free.md b/reference/mdspan/mdspan/swap_free.md new file mode 100644 index 000000000..06262f4df --- /dev/null +++ b/reference/mdspan/mdspan/swap_free.md @@ -0,0 +1,72 @@ +# swap (非メンバ関数) +* mdspan[meta header] +* function[meta id-type] +* std[meta namespace] +* mdspan[meta class] +* cpp23[meta cpp] + +```cpp +friend constexpr void swap(mdspan& x, mdspan& y) noexcept; +``` + +## 概要 +2つの`mdspan`オブジェクトを入れ替える。 + + +## 効果 +説明専用のメンバ変数`ptr_`, `map_`, `acc_`に対して、...