24 using namespace folly;
27 const std::vector<size_t> capacities = {1, 2, 3};
32 auto pri =
static_cast<int8_t>(capacity.index) - 1;
33 for (
size_t i = 0;
i < *capacity; ++
i) {
#define EXPECT_NO_THROW(statement)
#define EXPECT_THROW(statement, expected_exception)
—— Concurrent Priority Queue Implementation ——
constexpr Range< Iter > range(Iter first, Iter last)
detail::RangeEnumerator< Range > enumerate(Range &&r)
BlockingQueueAddResult addWithPriority(T item, int8_t priority) override
TEST(SequencedExecutor, CPUThreadPoolExecutor)