value_type = std::unique_ptr reference = std::unique_ptr &&
| 132 | // value_type = std::unique_ptr<int> |
| 133 | // reference = std::unique_ptr<int>&& |
| 134 | co_context::generator<std::unique_ptr<int> &&> unique_ints(const int high) { |
| 135 | for (auto i = 0; i < high; ++i) { |
| 136 | co_yield std::make_unique<int>(i); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | // value_type = std::string_view |
| 141 | // reference = std::string_view&& |