Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <list>
- class Prueba {
- public:
- //Prueba() = delete;
- //Prueba(const Prueba& other) = delete;
- //Prueba(const Prueba&& other) = delete;
- bool operator == (const Prueba& other) = delete;
- Prueba operator = (const Prueba& other) = delete;
- //~Prueba() = delete;
- };
- int main() {
- std::list<Prueba> l(10);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment