|
libpqxx
The C++ client library for PostgreSQL
|
String traits for builtin integer types. More...
#include <conversions.hxx>
Static Public Member Functions | |
| static PQXX_LIBEXPORT T | from_string (std::string_view text, ctx={}) |
| static PQXX_LIBEXPORT std::string_view | to_buf (std::span< char > buf, T const &value, ctx c={}) |
| static constexpr PQXX_INLINE_ONLY std::size_t | size_buffer (T const &) noexcept |
String traits for builtin integer types.
This does not cover bool or (unlike std::integral) the char types.
Once upon a time this was a partial specialisation of string_traits for the pqxx::internal::integer concept, but MSVC 2026 had a mysterious problem with that (see #1160). So, we had to revert to a much clunkier way of creating those specialisations.
|
static |
|
inlinestaticconstexprnoexcept |
|
inlinestatic |