Suppose having a simple class with no name:
class {} object;
I want my class to have at least one non-default constructor like below
class {
public:
ctor(int member) : _member(member) {}
private:
int _member;
} object(20);
I dont want my class to have a name. Am I able to do such things or am I forced to give a name to the class?