reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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.
}