Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
field::operator= (18 of 25 overloads)

Replaces *this with v, changing the kind to string and destroying any previous contents.

Synopsis
field&
operator=(
    std::string_view v);
Exception safety

Basic guarantee. Internal allocations may throw.

Object lifetimes

Invalidates references obtained by as_xxx and get_xxx functions, but not the ones obtained by field::operator field_view().


PrevUpHomeNext