Go to the documentation of this file. 1 #ifndef realroot_declare_class_glue_hpp
2 #define realroot_declare_class_glue_hpp
4 #define DECLARE_CLASS(X,S) \
5 inline unsigned hash(const X& p){ return 1;} \
6 inline unsigned exact_hash(const X& p){ return 1;} \
7 inline unsigned soft_hash(const X& p){ return 1;} \
8 inline bool exact_eq(const X& p, const X& q){ return true;} \
9 inline bool exact_neq(const X& p, const X& q){ return false;} \
10 inline bool operator ==(const X& p, const X& q){ return true;} \
11 inline bool operator !=(const X& p, const X& q){ return false;} \
12 inline syntactic flatten(const X& x) { return syntactic(S); }