63 deq = std::deque<bool>{};
246 auto& ref =
deq.at(pos);
262 auto& ref =
deq.at(pos);
265 }
catch (
const std::out_of_range&) {
269 auto ref =
bitdeq.at(pos);
272 }
catch (
const std::out_of_range&) {
285 auto& ref =
cdeq.at(pos);
287 }
catch (
const std::out_of_range&) {
293 }
catch (
const std::out_of_range&) {
321 auto& ref =
deq.front();
333 auto& ref =
cdeq.front();
341 auto& ref =
deq.back();
355 auto& ref =
cdeq.back();
369 auto& ref =
deq[pos];
387 auto& ref =
deq[pos];
399 if (
cdeq.size() == 1) {
404 auto& ref =
deq[pos];
416 if (
cdeq.size() == 1) {
421 auto& ref =
deq[pos];
532 auto it =
deq.begin();
535 while (it !=
itend) {
T ConsumeIntegralInRange(T min, T max)
bool randbool() noexcept
Generate a random boolean.
uint64_t randbits(int bits) noexcept
Generate a random (bits)-bit integer.
Class that mimics std::deque<bool>, but with std::vector<bool>'s bit packing.
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
size_t CallOneOf(FuzzedDataProvider &fuzzed_data_provider, Callables... callables)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.