1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef NOTCONSTRUCTIBLE_H
10 #define NOTCONSTRUCTIBLE_H
14 class NotConstructible
16 NotConstructible(const NotConstructible
&);
17 NotConstructible
& operator=(const NotConstructible
&);
23 operator==(const NotConstructible
&, const NotConstructible
&)
27 struct std::hash
<NotConstructible
> {
28 typedef NotConstructible argument_type
;
29 typedef std::size_t result_type
;
31 std::size_t operator()(const NotConstructible
&) const { return 0; }
34 #endif // NOTCONSTRUCTIBLE_H