libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
pqxx::internal::integral_traits< T > Struct Template Reference

String traits for builtin integral types (though not bool). More...

Static Public Member Functions

static PQXX_LIBEXPORTfrom_string (std::string_view text)
static PQXX_LIBEXPORT zview to_buf (char *begin, char *end, T const &value)
static PQXX_LIBEXPORT char * into_buf (char *begin, char *end, T const &value)
static constexpr std::size_t size_buffer (T const &) noexcept

Static Public Attributes

static constexpr bool converts_to_string {true}
static constexpr bool converts_from_string {true}

Detailed Description

template<typename T>
struct pqxx::internal::integral_traits< T >

String traits for builtin integral types (though not bool).

Member Function Documentation

◆ from_string()

template<typename T>
template unsigned long long pqxx::internal::integral_traits< T >::from_string ( std::string_view text)
static

◆ into_buf()

template<typename T>
template char * pqxx::internal::integral_traits< T >::into_buf ( char * begin,
char * end,
T const & value )
static

◆ size_buffer()

template<typename T>
constexpr std::size_t pqxx::internal::integral_traits< T >::size_buffer ( T const & )
inlinestaticconstexprnoexcept

◆ to_buf()

template<typename T>
template zview pqxx::internal::integral_traits< T >::to_buf ( char * begin,
char * end,
T const & value )
static

Member Data Documentation

◆ converts_from_string

template<typename T>
bool pqxx::internal::integral_traits< T >::converts_from_string {true}
staticconstexpr

◆ converts_to_string

template<typename T>
bool pqxx::internal::integral_traits< T >::converts_to_string {true}
staticconstexpr

The documentation for this struct was generated from the following files:
  • /builddir/build/BUILD/libpqxx-7.10.5-build/libpqxx-7.10.5/redhat-linux-build/include/pqxx/internal/conversions.hxx
  • /builddir/build/BUILD/libpqxx-7.10.5-build/libpqxx-7.10.5/redhat-linux-build/src/strconv.cxx