#include #include class MyClass{ public: int val=0; MyClass(int val) :val(val){}; }; int main() { std::vector myitems; for (int i=0;i<20;i++) { myitems.push_back({i}); } for (int i=0;ival++; std::cout<