How to use push() in this structure?


struct Bracket {
    Bracket(char type, int position) :
        type(type),
        position(position)
    {}

    bool Matchc(char c) {
        if (type == '(' && c == ')')
            return true;
        return false;
    }

    char type;
    int position;
};

And in the main():

stack <bracket> case1;
char type1 = '(';
int position1 = 1;

I tried some other objects but
How should I use push() function?