fork download
  1. #include <vector>
  2.  
  3. class test{
  4. static short const times = 2;
  5. };
  6.  
  7. int main()
  8. {
  9. std::vector<test> t;
  10. t.push_back(test{});
  11. t.erase(t.begin());
  12. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
Standard output is empty