2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 export module std:__new; // Note new is a keyword and not a valid identifier
14 export namespace std {
15 // [alloc.errors], storage allocation errors
17 using std::bad_array_new_length;
19 using std::destroying_delete;
20 using std::destroying_delete_t;
22 // global operator new control
23 using std::align_val_t;
28 using std::get_new_handler;
29 using std::new_handler;
30 using std::set_new_handler;
32 // [ptr.launder], pointer optimization barrier
35 // [hardware.interference], hardware interference size
36 using std::hardware_constructive_interference_size;
37 using std::hardware_destructive_interference_size;
43 using ::operator delete;
44 using ::operator new[];
45 using ::operator delete[];