libpqxx
The C++ client library for PostgreSQL
pqxx::string_traits< std::string > Struct Referencefinal

#include <conversions.hxx>

Static Public Member Functions

static PQXX_INLINE_ONLY std::string from_string (std::string_view text, ctx={})
 
static PQXX_INLINE_ONLY std::string_view to_buf (std::span< char >, std::string const &value, ctx={})
 
static constexpr PQXX_INLINE_ONLY std::size_t size_buffer (std::string const &value) noexcept
 

Member Function Documentation

◆ from_string()

static PQXX_INLINE_ONLY std::string pqxx::string_traits< std::string >::from_string ( std::string_view  text,
ctx  = {} 
)
inlinestatic

◆ size_buffer()

static constexpr PQXX_INLINE_ONLY std::size_t pqxx::string_traits< std::string >::size_buffer ( std::string const &  value)
inlinestaticconstexprnoexcept

◆ to_buf()

static PQXX_INLINE_ONLY std::string_view pqxx::string_traits< std::string >::to_buf ( std::span< char >  ,
std::string const &  value,
ctx  = {} 
)
inlinestatic

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