Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
field::field (4 of 26 overloads)

Constructs a field holding NULL.

Synopsis
field(
    std::nullptr_t);
Description

Caution: field(NULL) will NOT match this overload. It will try to construct a string_view from a NULL C string, causing undefined behavior.

Exception safety

No-throw guarantee.


PrevUpHomeNext