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 //===----------------------------------------------------------------------===//
10 export namespace std {
11 // [bit.cast], bit_cast
14 #if _LIBCPP_STD_VER >= 23
15 // [bit.byteswap], byteswap
19 // [bit.pow.two], integral powers of 2
23 using std::has_single_bit;
25 // [bit.rotate], rotating
29 // [bit.count], counting
30 using std::countl_one;
31 using std::countl_zero;
32 using std::countr_one;
33 using std::countr_zero;
36 // [bit.endian], endian