#ifndef NOTCONSTRUCTIBLE_H #define NOTCONSTRUCTIBLE_H #include class NotConstructible { NotConstructible(const NotConstructible&); NotConstructible& operator=(const NotConstructible&); public: }; inline bool operator==(const NotConstructible&, const NotConstructible&) {return true;} namespace std { template <> struct hash : public std::unary_function { std::size_t operator()(const NotConstructible&) const {return 0;} }; } #endif // NOTCONSTRUCTIBLE_H