Task: Access Underlying Container of STL Container Adaptors
Task: Access Underlying Container of STL Container Adaptors: a task in Terminal-Lego-15k (Harbor dataset). In C++, container adaptors like std::stack , std::queue , and std::priority queue wrap underlying containers (by default std::deque for stack/queue and std::vector for priority queue)…
The task
In C++, container adaptors like `std::stack`, `std::queue`, and `std::priority_queue` wrap underlying containers (by default `std::deque` for stack/queue and `std::vector` for priority_queue). However, these adaptors don't provide direct access to iterate over their elements.
Part of PrimeIntellect/Terminal-Lego-15k.