I'm learning how to use pair function, and my compiler says to me that i'm making an error because my pair contructor is initialized by default to delete
pair <object, char> test;
seems that because i'm using an object from a class into pair i cannot inizialize it with make_pair.
Your question is not entirely clear, but it may be that object doesn't have a default constructor.
Adding a constructor with the signature object() that inits the members to default values may fix it.
This error is about the undefined pair constructor.
The object has already a default constructor like object(), but i don't know how to create it for the pair.
To be clearer, in a struct i should made it like this: