File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,20 @@ concept supports_size = requires (Ctr ctr) {
191
191
ctr.size ();
192
192
};
193
193
194
- // declaration for wait_queue
195
-
194
+ /* *
195
+ * @brief MPMC thread-safe wait queue with shutdown semantics.
196
+ *
197
+ * @tparam T Type of value that will be passed through the queue.
198
+ *
199
+ * @tparam Container that is used as the underlying data queue.
200
+ *
201
+ * @pre The value type must be either copy constructible or move constructible. It does not
202
+ * have to be both, and in particular a default constructor is not required.
203
+ *
204
+ * @pre The container type must support certain operations depending on which ones are called.
205
+ * The constraints are specified on each particular operation.
206
+ *
207
+ */
196
208
template <typename T, typename Container = std::deque<T> >
197
209
requires std::is_copy_constructible_v<T> || std::is_move_constructible_v<T>
198
210
class wait_queue {
You can’t perform that action at this time.
0 commit comments