MySQL 8.4.2
Source Code Documentation
stdx Namespace Reference

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  expected< T, E >
 
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_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_flags< TlsVerifyOpts >
 
struct  is_scoped_enum
 
struct  type_identity
 
struct  unexpect_t
 
class  unexpected
 

Typedefs

template<class T >
using iter_value_t = typename indirectly_readable_traits< std::remove_cvref_t< T > >::value_type
 
template<class T >
using iter_reference_t = typename impl::iter_reference< std::remove_cvref_t< T > >::reference
 
template<class T >
using type_identity_t = typename type_identity< T >::type
 

Functions

template<std::integral T>
constexpr T byteswap (T num) noexcept
 
template<class E >
 unexpected (E) -> unexpected< E >
 
template<class Exp , class Func >
constexpr auto expected_transform_impl (Exp &&exp, Func &&func)
 
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
 

Typedef Documentation

◆ iter_reference_t

template<class T >
using stdx::iter_reference_t = typedef typename impl::iter_reference<std::remove_cvref_t<T> >::reference

◆ iter_value_t

template<class T >
using stdx::iter_value_t = typedef typename indirectly_readable_traits<std::remove_cvref_t<T> >::value_type

◆ type_identity_t

template<class T >
using stdx::type_identity_t = typedef typename type_identity<T>::type

Function Documentation

◆ byteswap()

template<std::integral T>
constexpr T stdx::byteswap ( num)
constexprnoexcept

◆ expected_transform_impl()

template<class Exp , class Func >
constexpr auto stdx::expected_transform_impl ( Exp &&  exp,
Func &&  func 
)
constexpr

◆ operator<<() [1/3]

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 & > stdx::operator<< ( std::ostream &  os,
const stdx::expected< T, E > &  res 
)
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'

◆ operator<<() [2/3]

template<class E >
std::enable_if_t< impl::is_to_stream_writable< std::ostream, E >::value, std::ostream & > stdx::operator<< ( std::ostream &  os,
const stdx::expected< void, E > &  res 
)
inline

write stdx::expected<void, E> to std::ostream.

only takes part in overload-resolution if E supports 'os << v'

◆ operator<<() [3/3]

template<class E >
std::enable_if_t< impl::is_to_stream_writable< std::ostream, E >::value, std::ostream & > stdx::operator<< ( std::ostream &  os,
const stdx::unexpected< E > &  res 
)
inline

write stdx::unexpected<E> to std::ostream.

only takes part in overload-resolution if E supports 'os << v'

◆ unexpected()

template<class E >
stdx::unexpected ( ) -> unexpected< E >

Variable Documentation

◆ is_flags_v

template<class E >
constexpr bool stdx::is_flags_v = is_flags<E>::value
inlineconstexpr

◆ is_scoped_enum_v

template<class E >
constexpr bool stdx::is_scoped_enum_v = is_scoped_enum<E>::value
inlineconstexpr

◆ unexpect

constexpr unexpect_t stdx::unexpect {}
inlineconstexpr