|
template<class IntegerType > |
constexpr std::enable_if_t< std::is_integral< IntegerType >::value, IntegerType > | byteswap (IntegerType t) noexcept |
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, T > | rotl (T x, int s) noexcept |
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, T > | rotr (T x, int s) noexcept |
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, int > | popcount (T v) noexcept |
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, int > | countl_zero (T x) noexcept |
| consecutive 0-bits starting from MSB. More...
|
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, int > | countr_zero (T x) noexcept |
| consecutive 0-bits starting from LSB (right). More...
|
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, int > | countr_one (T x) noexcept |
| consecutive 1-bits starting from LSB (right). More...
|
|
template<class T > |
constexpr std::enable_if_t< std::is_unsigned< T >::value, int > | countl_one (T x) noexcept |
| consecutive 1-bits starting from LSB (right). More...
|
|
template<typename E > |
constexpr auto | make_unexpected (E &&e) -> unexpected< std::decay_t< E > > |
|
template<class E > |
| unexpected (E) -> unexpected< E > |
|
template<class Exp , class Func > |
constexpr auto | expected_transform_impl (Exp &&exp, Func &&func) |
|
template<class E1 , class E2 > |
bool | operator== (const unexpected< E1 > &a, const unexpected< E2 > &b) |
|
template<class E1 , class E2 > |
bool | operator!= (const unexpected< E1 > &a, const unexpected< E2 > &b) |
|
template<class T1 , class E1 , class T2 , class E2 > |
bool | operator== (const expected< T1, E1 > &a, const expected< T2, E2 > &b) |
|
template<class E1 , class E2 > |
bool | operator== (const expected< void, E1 > &a, const expected< void, E2 > &b) |
|
template<class T1 , class E1 , class T2 , class E2 > |
bool | operator!= (const expected< T1, E1 > &a, const expected< T2, E2 > &b) |
|
template<class T1 , class E1 , class E2 > |
bool | operator== (const expected< T1, E1 > &a, const unexpected< E2 > &b) |
|
template<class T1 , class E1 , class E2 > |
bool | operator== (const unexpected< E2 > &a, const expected< T1, E1 > &b) |
|
template<class T1 , class E1 , class E2 > |
bool | operator!= (const expected< T1, E1 > &a, const unexpected< E2 > &b) |
|
template<class T1 , class E1 , class E2 > |
bool | operator!= (const unexpected< E2 > &a, const expected< T1, E1 > &b) |
|
template<class T , class E > |
std::enable_if_t< impl::is_to_stream_writable< std::ostream, T >::value &&impl::is_to_stream_writable< std::ostream, E >::value, std::ostream & > | operator<< (std::ostream &os, const stdx::expected< T, E > &res) |
| write stdx::expected<T, E> to std::ostream. More...
|
|
template<class E > |
std::enable_if_t< impl::is_to_stream_writable< std::ostream, E >::value, std::ostream & > | operator<< (std::ostream &os, const stdx::expected< void, E > &res) |
| write stdx::expected<void, E> to std::ostream. More...
|
|
template<class E > |
std::enable_if_t< impl::is_to_stream_writable< std::ostream, E >::value, std::ostream & > | operator<< (std::ostream &os, const stdx::unexpected< E > &res) |
| write stdx::unexpected<E> to std::ostream. More...
|
|
template<class Container > |
| span (Container &) -> span< typename Container::value_type > |
|
template<class Container > |
| span (Container const &) -> span< const typename Container::value_type > |
|
template<class T , std::size_t N> |
span< const std::byte, detail::span_size< T, N >::size > | as_bytes (span< T, N > spn) noexcept |
| get a view to underlying bytes of a span 'spn'. More...
|
|
template<class T , std::size_t N, std::enable_if_t<!std::is_const_v< T >, int > = 0> |
span< std::byte, detail::span_size< T, N >::size > | as_writable_bytes (span< T, N > spn) noexcept |
| get a writable view to underlying bytes of a span 'spn'. More...
|
|