std1.0.0-beta-7 SafeC docs

std :: collections::traits

Function std::enqueue_all

#include <std/collections/traits.h> source

generic<Q: Enqueue, T> unsigned long enqueue_all(&Q q, []const T items)

Enqueues the items in order, stopping at the first one refused (full or closed). Returns how many went in; the rest stay in items.