libpqxx  7.5.2
pqxx::nullness< TYPE, ENABLE > Struct Template Reference

Traits describing a type's "null value," if any. More...

#include <strconv.hxx>

Static Public Member Functions

static bool is_null (TYPE const &value)
 Is value a null? More...
 
static TYPE null ()
 Return a null value. More...
 

Static Public Attributes

static bool has_null
 Does this type have a null value? More...
 
static bool always_null
 Is this type always null? More...
 

Detailed Description

template<typename TYPE, typename ENABLE = void>
struct pqxx::nullness< TYPE, ENABLE >

Traits describing a type's "null value," if any.

Some C++ types have a special value or state which correspond directly to SQL's NULL.

The nullness traits describe whether it exists, and whether a particular value is null.


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