How can a container be given to a macro in c++? :         
    #define x.contains(a) x.find(a)!=x.end()
    void main(){
         vector<int> v = {1,2,3,4};
         if(v.contains(2))
             cout<<"yes"<<endl;
         else
             cout<<"no"<<endl;
    }

I have following piece of code where I am using a macro for a checking if element is present in the vector or not. But on compilation it gives following error:
    
    ISO C++11 requires whitespace after the macro name #define x.contains(a) x.find(a)!=x.end()

Please show me a way out.
Thanks.