👩💻 Join our community of thousands of amazing developers!
diff --git a/reference/ranges/subrange/empty.md b/reference/ranges/subrange/empty.md new file mode 100644 index 000000000..f308d0982 --- /dev/null +++ b/reference/ranges/subrange/empty.md @@ -0,0 +1,54 @@ +# empty +* ranges[meta header] +* std::ranges[meta namespace] +* subrange[meta class] +* function[meta id-type] +* cpp20[meta cpp] + +```cpp +constexpr bool empty() const; +``` + +## 概要 +`subrange`が空かどうかを判定する。 + +## 効果 +`return begin_ == end_;` + +ただし、`begin_`、`end_`は`subrange`が内部で保持するイテレータと...