minix/external/bsd/libc++/dist/libcxx/test/containers/NotConstructible.h
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

30 lines
541 B
C++

#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