libpqxx
The C++ client library for PostgreSQL
pqxx::nullness< std::string_view > Struct Referencefinal

There's no real null value for std::string_view. More...

#include <conversions.hxx>

+ Inheritance diagram for pqxx::nullness< std::string_view >:
+ Collaboration diagram for pqxx::nullness< std::string_view >:

Additional Inherited Members

- Static Public Member Functions inherited from pqxx::no_null< std::string_view >
static constexpr PQXX_PURE bool is_null (std::string_view const &) noexcept
 Does a given value correspond to an SQL null value? More...
 
- Static Public Attributes inherited from pqxx::no_null< std::string_view >
static constexpr bool has_null
 Does TYPE have a "built-in null value"? More...
 
static constexpr bool always_null
 Are all values of this type null? More...
 

Detailed Description

There's no real null value for std::string_view.

A string_view may have a null data pointer, which is analogous to a null char pointer, but the standard does not really seem to guarantee that it is distinct from other empty string views.


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