Otherwise the instantiation hash shall:
- not be a function object type (20.12)
- not satisfy the requiriments of 'DefaultConstructible' (Table 19), 'CopyConstructible' (Table 21), 'CopyAssignable' (Table 23), nor 'Destructible' (17.6.3.1).
| diff --git a/test/libcxx/containers/unord/unord.set/insert_dup_alloc.pass.cpp b/test/libcxx/containers/unord/unord.set/insert_dup_alloc.pass.cpp | |
| deleted file mode 100644 | |
| index 76ceafe..0000000 | |
| --- a/test/libcxx/containers/unord/unord.set/insert_dup_alloc.pass.cpp | |
| +++ /dev/null | |
| @@ -1,48 +0,0 @@ | |
| -//===----------------------------------------------------------------------===// | |
| -// | |
| -// The LLVM Compiler Infrastructure | |
| -// |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #include <tuple> |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #include <tuple> |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #include <tuple> |
Otherwise the instantiation hash shall:
| diff --git a/include/complex b/include/complex | |
| index 565e111..f56138f 100644 | |
| --- a/include/complex | |
| +++ b/include/complex | |
| @@ -1,1517 +1,1523 @@ | |
| // -*- C++ -*- | |
| //===--------------------------- complex ----------------------------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // |
| #pragma GCC visibility push(hidden) | |
| //#define _LIBCPP_TYPE_VIS __attribute__((visibility("default"))) | |
| //#define _LIBCPP_TYPE_VIS_ONLY __attribute__((type_visibility("default"))) | |
| #include <locale> | |
| #pragma GCC visibility pop | |
| int main() { | |
| using T = std::moneypunct_byname<char>; | |
| std::locale loc = std::locale(""); | |
| auto& f = std::use_facet<T>(loc); |
| #include <memory> | |
| struct Foo {}; | |
| using FooFn = Foo*(); | |
| using FooFnPtr = Foo*(*)(); | |
| using FooDel = void (*)(FooFnPtr); | |
| static_assert(std::is_same<FooFn*, FooFnPtr>::value, ""); | |
| void del(FooFnPtr) {} | |
| Foo* fun() {return nullptr; } |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // UNSUPPORTED: c++98, c++03 |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // | |
| // UNSUPPORTED: c++98, c++03 |