blob: ac8b98ef99f05cb88df75f77aefd92086754a76f [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#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;}
};
}
#endif // NOTCONSTRUCTIBLE_H