Enqueues a single item (by copying it). Does not allocate memory. Fails if not enough room to enqueue (or implicit production is disabled because Traits::INITIAL_IMPLICIT_PRODUCER_HASH_SIZE is 0). Thread-safe.
| 985 | // is 0). |
| 986 | // Thread-safe. |
| 987 | inline bool try_enqueue(T const &item) { |
| 988 | if (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false; |
| 989 | return inner_enqueue<CannotAlloc>(item); |
| 990 | } |
| 991 | |
| 992 | // Enqueues a single item (by moving it, if possible). |
| 993 | // Does not allocate memory (except for one-time implicit producer). |
nothing calls this directly
no outgoing calls
no test coverage detected