Here is my code, but it doesn't work.

How can I overload the comparison operator for my pointer class?

```
using namespace std;

class x{

public:
    int y = 0;
    bool operator < (const x* b) const{
        cout << "inline";
        return (y < b->y);
    }
};

int main(){
    x *q = new x;
    q->y = 10;
    x *w = new x;
    w->y = 0;

    if (q < w){
        cout << "false" <<endl;
    }else{
        cout << "true" << endl;
    }

    // Cleanup:
    delete q;
    delete w;
}

```

and here's my result

```
false

```