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

String traits for builtin floating-point types. More...

Static Public Member Functions

static PQXX_LIBEXPORT T from_string (std::string_view text)
static PQXX_LIBEXPORT zview to_buf (char *begin, char *end, T const &value)
 Floating-point to_buf implemented in terms of to_string.
static PQXX_LIBEXPORT char * into_buf (char *begin, char *end, T const &value)
static constexpr std::size_t digits10 (std::size_t value) noexcept
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::float_traits< T >

String traits for builtin floating-point types.


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