libpqxx
The C++ client library for PostgreSQL
pqxx::internal::integral_traits< T > Struct Template Reference

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

#include <conversions.hxx>

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

template<typename T >
template unsigned long long pqxx::internal::integral_traits< T >::from_string ( std::string_view  text)
static
template<typename T>
template char * pqxx::internal::integral_traits< T >::into_buf ( char *  begin,
char *  end,
T const &  value 
)
static
template<typename T>
static constexpr std::size_t pqxx::internal::integral_traits< T >::size_buffer ( T const &  )
inlinestaticnoexcept
template<typename T>
template zview pqxx::internal::integral_traits< T >::to_buf ( char *  begin,
char *  end,
T const &  value 
)
static

Member Data Documentation

template<typename T>
constexpr bool pqxx::internal::integral_traits< T >::converts_from_string {true}
static
template<typename T>
constexpr bool pqxx::internal::integral_traits< T >::converts_to_string {true}
static

The documentation for this struct was generated from the following files: