libstdc++
bit File Reference

Go to the source code of this file.

Namespaces

 std
 

Macros

#define __cpp_lib_bit_cast
 
#define __cpp_lib_bitops
 
#define __cpp_lib_endian
 
#define __cpp_lib_int_pow2
 
#define _GLIBCXX_BIT
 

Enumerations

enum class  std::endian { little , big , native }
 

Functions

template<typename _To , typename _From >
constexpr _To std::bit_cast (const _From &__from) noexcept requires(sizeof(_To)
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp > std::bit_ceil (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp > std::bit_floor (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp > std::bit_width (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp, int > std::countl_one (_Tp __x) noexcept
 
constexpr _To int std::countl_zero (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp, int > std::countr_one (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp, int > std::countr_zero (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp, bool > std::has_single_bit (_Tp __x) noexcept
 
template<typename _Tp >
constexpr _If_is_unsigned_integer< _Tp, int > std::popcount (_Tp __x) noexcept
 

Detailed Description

This is a Standard C++ Library header.

Definition in file bit.