MySQL 8.4.2
Source Code Documentation
|
base-class of socket options. More...
#include <socket.h>
Public Types | |
using | value_type = T |
using | storage_type = V |
Public Member Functions | |
constexpr | option_base () |
constexpr | option_base (value_type v) |
value_type | value () const |
template<typename Protocol > | |
constexpr int | level (const Protocol &) const noexcept |
template<typename Protocol > | |
constexpr int | name (const Protocol &) const noexcept |
template<typename Protocol > | |
const storage_type * | data (const Protocol &) const |
template<typename Protocol > | |
storage_type * | data (const Protocol &) |
template<typename Protocol > | |
constexpr size_t | size (const Protocol &) const |
template<class Protocol > | |
void | resize (const Protocol &, size_t s) |
Private Attributes | |
storage_type | value_ |
base-class of socket options.
can be used to implement type safe socket options.
using net::socket_option::option_base< Level, Name, T, V >::storage_type = V |
using net::socket_option::option_base< Level, Name, T, V >::value_type = T |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inlineconstexpr |
|
inline |
|
private |