|
libpqxx
The C++ client library for PostgreSQL
|
Static Public Member Functions | |
| static char * | into_buf (char *begin, char *end, std::variant< T... > const &value) |
| static zview | to_buf (char *begin, char *end, std::variant< T... > const &value) |
| static std::size_t | size_buffer (std::variant< T... > const &value) noexcept |
| static std::variant< T... > | from_string (std::string_view)=delete |
Static Public Attributes | |
| static constexpr bool | converts_to_string |
| static constexpr bool | converts_from_string |
| Is conversion from string_view to TYPE supported? | |
|
staticdelete |
There's no from_string for std::variant. We could have one with a rule like "pick the first type which fits the value," but we'd have to look into how natural that API feels to users.
|
inlinestatic |
|
inlinestaticnoexcept |
|
inlinestatic |
|
staticconstexpr |
Is conversion from string_view to TYPE supported?
When defining your own conversions, specialise this as true to indicate that your string traits support from_string.
|
staticconstexpr |