![]() |
MySQL 8.0.32
Source Code Documentation
|
Namespaces | |
namespace | base |
namespace | filesystem |
namespace | impl |
namespace | io |
namespace | ranges |
namespace | this_process |
Classes | |
struct | __is_scoped_enum_helper |
struct | __is_scoped_enum_helper< T, true > |
class | expected |
class | ExpectedImpl |
class | ExpectedImpl< void, E > |
class | ExpectedImplBase |
class | flags |
a type-safe flags type. More... | |
struct | indirectly_readable_traits |
struct | indirectly_readable_traits< const T > |
struct | indirectly_readable_traits< T *, std::enable_if_t< std::is_object_v< T > > > |
struct | indirectly_readable_traits< T, std::enable_if_t< impl::has_element_type< T >::value > > |
struct | indirectly_readable_traits< T, std::enable_if_t< impl::has_value_type< T >::value > > |
struct | indirectly_readable_traits< T, std::enable_if_t< std::is_array_v< T > > > |
struct | is_expected_impl |
struct | is_expected_impl< expected< T, E > > |
struct | is_flags |
struct | is_flags< classic_protocol::message::client::impl::BinlogDump::Flags > |
struct | is_flags< classic_protocol::message::client::impl::BinlogDumpGtid::Flags > |
struct | is_flags< StmtClassifier > |
struct | is_scoped_enum |
struct | remove_cvref |
struct | unexpect_t |
class | unexpected |
Typedefs | |
template<class T > | |
using | is_expected = is_expected_impl< std::decay_t< T > > |
template<class T > | |
using | iter_value_t = typename indirectly_readable_traits< stdx::remove_cvref_t< T > >::value_type |
template<class T > | |
using | iter_reference_t = typename impl::iter_reference< stdx::remove_cvref_t< T > >::reference |
template<class T > | |
using | remove_cvref_t = typename remove_cvref< T >::type |
Enumerations | |
enum class | endian { little = __ORDER_LITTLE_ENDIAN__ , big = __ORDER_BIG_ENDIAN__ , native = __BYTE_ORDER__ } |
Functions | |
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... | |
Variables | |
constexpr unexpect_t | unexpect {} |
template<class E > | |
constexpr bool | is_flags_v = is_flags<E>::value |
template<class E > | |
constexpr bool | is_scoped_enum_v = is_scoped_enum<E>::value |
using stdx::is_expected = typedef is_expected_impl<std::decay_t<T> > |
using stdx::iter_reference_t = typedef typename impl::iter_reference<stdx::remove_cvref_t<T> >::reference |
using stdx::iter_value_t = typedef typename indirectly_readable_traits<stdx::remove_cvref_t<T> >::value_type |
using stdx::remove_cvref_t = typedef typename remove_cvref<T>::type |
|
strong |
|
constexprnoexcept |
|
constexprnoexcept |
consecutive 1-bits starting from LSB (right).
|
inlineconstexprnoexcept |
consecutive 0-bits starting from MSB.
0b0000'0000 = 8 0b0000'0001 = 7 0b0000'1110 = 4
|
constexprnoexcept |
consecutive 1-bits starting from LSB (right).
|
constexprnoexcept |
consecutive 0-bits starting from LSB (right).
|
constexpr |
|
constexpr |
|
inline |
|
inline |
|
inline |
bool stdx::operator!= | ( | const unexpected< E2 > & | a, |
const expected< T1, E1 > & | b | ||
) |
|
inline |
write stdx::expected<T, E> to std::ostream.
T and E must be non-void.
only takes part in overload-resolution if T and E support 'os << v'
|
inline |
write stdx::expected<void, E> to std::ostream.
only takes part in overload-resolution if E supports 'os << v'
|
inline |
write stdx::unexpected<E> to std::ostream.
only takes part in overload-resolution if E supports 'os << v'
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
stdx::unexpected | ( | E | ) | -> unexpected< E > |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |