I have been exploring more C++ and encountered a phenomenon like Unnamed classes.
class : public classB{
public:
protected:
private:
};
How are these classes useful? Is it like the concept of lambda functions?
I would like to know the purpose of such classes. The other threads don't really show any usefulness of the feature.