![]() |
MySQL 9.6.0
Source Code Documentation
|
Wrapper around an std::optional<std::string> object returned from encode, intended to be passed to operator<<, allowing it to implement ostream-idiomatic error handling. More...
#include <encode.h>
Public Types | |
| using | Opt_string = std::optional< String_t > |
Public Member Functions | |
| Streamable (Opt_string &&other) | |
| Construct a new Streamable from an expiring optional string. More... | |
| const Opt_string & | opt_string_ref () const |
| Return reference to the optional string stored in this object. More... | |
Private Attributes | |
| Opt_string | m_opt_string |
| Stored optional string object. More... | |
Wrapper around an std::optional<std::string> object returned from encode, intended to be passed to operator<<, allowing it to implement ostream-idiomatic error handling.
| using mysql::strconv::Streamable< String_t >::Opt_string = std::optional<String_t> |
|
inlineexplicit |
Construct a new Streamable from an expiring optional string.
|
inline |
Return reference to the optional string stored in this object.
|
private |
Stored optional string object.