libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
zview.hxx File Reference
#include <string>
#include <string_view>
#include <type_traits>
#include "pqxx/types.hxx"

Go to the source code of this file.

Classes

class  pqxx::zview
 Marker-type wrapper: zero-terminated std::string_view. More...

Namespaces

namespace  pqxx
 The home of all libpqxx classes, functions, templates, etc.
namespace  pqxx::internal
 Internal items for libpqxx' own use. Do not use these yourself.

Functions

constexpr zview pqxx::operator""_zv (char const str[], std::size_t len) noexcept
 Support zview literals.
constexpr char const * pqxx::internal::as_c_string (char const str[]) noexcept
 Get a raw C string pointer.
template<std::size_t N>
constexpr char const * pqxx::internal::as_c_string (char(&str)[N]) noexcept
 Get a raw C string pointer.
constexpr char const * pqxx::internal::as_c_string (pqxx::zview str) noexcept
 Get a raw C string pointer.
char const * pqxx::internal::as_c_string (std::string const &str) noexcept
 Get a raw C string pointer.