realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/declare_glue.hpp File Reference

Go to the source code of this file.

Defines


Define Documentation

#define DECLARE_CLASS (   X,
 
)
Value:
inline unsigned hash(const X& p){ return 1;}                            \
  inline unsigned exact_hash(const X& p){ return 1;}                      \
  inline unsigned soft_hash(const X& p){ return 1;}                       \
  inline bool exact_eq(const X& p, const X& q){ return true;}             \
  inline bool exact_neq(const X& p, const X& q){ return false;}           \
  inline bool operator ==(const X& p, const X& q){ return true;}          \
  inline bool operator !=(const X& p, const X& q){ return false;}         \
  inline syntactic flatten(const X& x) { return syntactic(S); }

Definition at line 4 of file declare_glue.hpp.