1*5f757f3fSDimitry Andric// -*- C++ -*- 2*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===// 3*5f757f3fSDimitry Andric// 4*5f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5*5f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 6*5f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7*5f757f3fSDimitry Andric// 8*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===// 9*5f757f3fSDimitry Andric 10*5f757f3fSDimitry Andricexport namespace std { 11*5f757f3fSDimitry Andric // [alloc.errors], storage allocation errors 12*5f757f3fSDimitry Andric using std::bad_alloc; 13*5f757f3fSDimitry Andric using std::bad_array_new_length; 14*5f757f3fSDimitry Andric 15*5f757f3fSDimitry Andric using std::destroying_delete; 16*5f757f3fSDimitry Andric using std::destroying_delete_t; 17*5f757f3fSDimitry Andric 18*5f757f3fSDimitry Andric // global operator new control 19*5f757f3fSDimitry Andric using std::align_val_t; 20*5f757f3fSDimitry Andric 21*5f757f3fSDimitry Andric using std::nothrow; 22*5f757f3fSDimitry Andric using std::nothrow_t; 23*5f757f3fSDimitry Andric 24*5f757f3fSDimitry Andric using std::get_new_handler; 25*5f757f3fSDimitry Andric using std::new_handler; 26*5f757f3fSDimitry Andric using std::set_new_handler; 27*5f757f3fSDimitry Andric 28*5f757f3fSDimitry Andric // [ptr.launder], pointer optimization barrier 29*5f757f3fSDimitry Andric using std::launder; 30*5f757f3fSDimitry Andric#if 0 31*5f757f3fSDimitry Andric // [hardware.interference], hardware interference size 32*5f757f3fSDimitry Andric using std::hardware_constructive_interference_size; 33*5f757f3fSDimitry Andric using std::hardware_destructive_interference_size; 34*5f757f3fSDimitry Andric#endif 35*5f757f3fSDimitry Andric} // namespace std 36*5f757f3fSDimitry Andric 37*5f757f3fSDimitry Andricexport { 38*5f757f3fSDimitry Andric using ::operator new; 39*5f757f3fSDimitry Andric using ::operator delete; 40*5f757f3fSDimitry Andric using ::operator new[]; 41*5f757f3fSDimitry Andric using ::operator delete[]; 42*5f757f3fSDimitry Andric} // export 43