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