tomasaccini

Untitled

Jul 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <list>
  2.  
  3. class Prueba {
  4. public:
  5.     //Prueba() = delete;
  6.     //Prueba(const Prueba& other) = delete;
  7.     //Prueba(const Prueba&& other) = delete;
  8.     bool operator == (const Prueba& other) = delete;
  9.     Prueba operator = (const Prueba& other) = delete;
  10.     //~Prueba() = delete;
  11. };
  12.  
  13. int main() {
  14.     std::list<Prueba> l(10);
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment