2010-05-11 21:42:16 +02:00
|
|
|
#ifndef NOTCONSTRUCTIBLE_H
|
|
|
|
#define NOTCONSTRUCTIBLE_H
|
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
|
|
|
|
class NotConstructible
|
|
|
|
{
|
|
|
|
NotConstructible(const NotConstructible&);
|
|
|
|
NotConstructible& operator=(const NotConstructible&);
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
inline
|
|
|
|
bool
|
|
|
|
operator==(const NotConstructible&, const NotConstructible&)
|
|
|
|
{return true;}
|
|
|
|
|
|
|
|
namespace std
|
|
|
|
{
|
|
|
|
|
|
|
|
template <>
|
|
|
|
struct hash<NotConstructible>
|
|
|
|
: public std::unary_function<NotConstructible, std::size_t>
|
|
|
|
{
|
|
|
|
std::size_t operator()(const NotConstructible&) const {return 0;}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2010-08-22 02:15:28 +02:00
|
|
|
#endif // NOTCONSTRUCTIBLE_H
|