|
libpqxx
The C++ client library for PostgreSQL
|
Base class for string_traits specialisations for nonbinary ranges.
More...
#include <conversions.hxx>
Inheritance diagram for pqxx::internal::nonbinary_range_traits< T >:
Collaboration diagram for pqxx::internal::nonbinary_range_traits< T >:Public Types | |
| using | elt_type = std::remove_cvref_t< value_type< T > > |
| using | elt_traits = string_traits< elt_type > |
Static Public Member Functions | |
| static std::size_t | size_buffer (T const &value) noexcept |
| static std::string_view | to_buf (std::span< char > buf, T const &value, ctx c={}) |
Static Public Attributes | |
| static constexpr zview | s_null {"NULL"} |
Base class for string_traits specialisations for nonbinary ranges.
We use the same code for the pqxx::array traits, and I'm not sure how to delegate directly to a specialisation for a broader concept.
| using pqxx::internal::nonbinary_range_traits< T >::elt_traits = string_traits<elt_type> |
| using pqxx::internal::nonbinary_range_traits< T >::elt_type = std::remove_cvref_t<value_type<T> > |
|
inlinestaticnoexcept |
|
inlinestatic |
|
staticconstexpr |