Hi

> The warning is useful because, if your class holds dynamically
> allocated resources, the default copy constructor and copy assignment
> operator generated by the compiler won't be appropriate.

Yes. But noncopyable should define that, isn't it? Means that I do not
want to copy objects.

> For this kind
> of classes you must define what "copying" means, to deal with the
> "shared resource" problem.

I know that I have to define, but I assume, that noncopyable did it.

Thanks and regards.

Seweryn Habdank-Wojewodzki.

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to