1 | #include <deque> |
---|---|
2 | #include <list> |
3 | #include <queue> |
4 | |
5 | struct C { |
6 | // Constructor for testing emplace. |
7 | C(int i) : i(i) {}; |
8 | int i; |
9 | }; |
10 | |
11 | int main(int argc, char **argv) { |
12 | // std::deque is the default container. |
13 | std::queue<C> q_deque({{1}}); |
14 | std::queue<C, std::list<C>> q_list({{1}}); |
15 | return 0; // Set break point at this line. |
16 | } |
17 |