Remove building with NOCRYPTO option
[minix.git] / external / bsd / libc++ / dist / libcxx / test / containers / NotConstructible.h
blobac8b98ef99f05cb88df75f77aefd92086754a76f
1 //===----------------------------------------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef NOTCONSTRUCTIBLE_H
11 #define NOTCONSTRUCTIBLE_H
13 #include <functional>
15 class NotConstructible
17 NotConstructible(const NotConstructible&);
18 NotConstructible& operator=(const NotConstructible&);
19 public:
22 inline
23 bool
24 operator==(const NotConstructible&, const NotConstructible&)
25 {return true;}
27 namespace std
30 template <>
31 struct hash<NotConstructible>
32 : public std::unary_function<NotConstructible, std::size_t>
34 std::size_t operator()(const NotConstructible&) const {return 0;}
39 #endif // NOTCONSTRUCTIBLE_H