Meaning of = delete after function declaration

class my_class
{
    ...
    my_class(my_class const &) = delete;
    ...
};

What does = delete mean in that context?

Are there any other “modifiers” (other than = 0 and = delete)?

9 Answers
9

Leave a Comment