Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
field::operator= (10 of 25 overloads)

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

Synopsis
field&
operator=(
    unsigned short v);
Exception safety

No-throw guarantee.

Object lifetimes

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


PrevUpHomeNext