MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / MOODYCAMEL_CATCH

Method MOODYCAMEL_CATCH

concurrentqueue.h:1943–1949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1941 new ((*this->tailBlock)[currentTailIndex]) T(std::forward<U>(element));
1942 }
1943 MOODYCAMEL_CATCH (...) {
1944 // Revert change to the current block, but leave the new block available
1945 // for next time
1946 pr_blockIndexSlotsUsed = originalBlockIndexSlotsUsed;
1947 this->tailBlock = startBlock == nullptr ? this->tailBlock : startBlock;
1948 MOODYCAMEL_RETHROW;
1949 }
1950 }
1951 else {
1952 (void)startBlock;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected