libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
pqxx::string_traits< std::unique_ptr< T, Args... > > Struct Template Reference

Static Public Member Functions

static std::unique_ptr< T > from_string (std::string_view text)
static char * into_buf (char *begin, char *end, std::unique_ptr< T, Args... > const &value)
static zview to_buf (char *begin, char *end, std::unique_ptr< T, Args... > const &value)
static std::size_t size_buffer (std::unique_ptr< T, Args... > const &value) noexcept

Static Public Attributes

static constexpr bool converts_to_string
static constexpr bool converts_from_string

Member Function Documentation

◆ from_string()

template<typename T, typename... Args>
std::unique_ptr< T > pqxx::string_traits< std::unique_ptr< T, Args... > >::from_string ( std::string_view text)
inlinestatic

◆ into_buf()

template<typename T, typename... Args>
char * pqxx::string_traits< std::unique_ptr< T, Args... > >::into_buf ( char * begin,
char * end,
std::unique_ptr< T, Args... > const & value )
inlinestatic

◆ size_buffer()

template<typename T, typename... Args>
std::size_t pqxx::string_traits< std::unique_ptr< T, Args... > >::size_buffer ( std::unique_ptr< T, Args... > const & value)
inlinestaticnoexcept

◆ to_buf()

template<typename T, typename... Args>
zview pqxx::string_traits< std::unique_ptr< T, Args... > >::to_buf ( char * begin,
char * end,
std::unique_ptr< T, Args... > const & value )
inlinestatic

Member Data Documentation

◆ converts_from_string

template<typename T, typename... Args>
bool pqxx::string_traits< std::unique_ptr< T, Args... > >::converts_from_string
staticconstexpr
Initial value:
{
static constexpr bool converts_from_string
Is conversion from string_view to TYPE supported?
Definition strconv.hxx:166

◆ converts_to_string

template<typename T, typename... Args>
bool pqxx::string_traits< std::unique_ptr< T, Args... > >::converts_to_string
staticconstexpr
Initial value:
{
static constexpr bool converts_to_string
Is conversion from TYPE to strings supported?
Definition strconv.hxx:160

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