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=

Copy assignment.

field&
operator=(
    const field&);
  » more...

Move assignment.

field&
operator=(
    field&& other);
  » more...

Replaces *this with a NULL, changing the kind to null and destroying any previous contents.

field&
operator=(
    std::nullptr_t);
  » more...

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

field&
operator=(
    signed char v);
  » more...

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

field&
operator=(
    short v);
  » more...

field&
operator=(
    int v);
  » more...

field&
operator=(
    long v);
  » more...

field&
operator=(
    long long v);
  » more...

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

field&
operator=(
    unsigned char v);
  » more...

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

field&
operator=(
    unsigned short v);
  » more...

field&
operator=(
    unsigned int v);
  » more...

field&
operator=(
    unsigned long v);
  » more...

field&
operator=(
    unsigned long long v);
  » more...

Assignments from character types would incorrectly assign an integer, so they are not allowed.

field&
operator=(
    char) = delete;
  » more...

Assignments from character types would incorrectly assign an integer, so they are not allowed.

field&
operator=(
    wchar_t) = delete;
  » more...

field&
operator=(
    char16_t) = delete;
  » more...

field&
operator=(
    char32_t) = delete;
  » more...

field&
operator=(
    char8_t) = delete;
  » more...

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

field&
operator=(
    const std::string& v);
  » more...

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

field&
operator=(
    std::string&& v);
  » more...

field&
operator=(
    const char* v);
  » more...

field&
operator=(
    string_view v);
  » more...

field&
operator=(
    std::string_view v);
  » more...

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

field&
operator=(
    blob v);
  » more...

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

field&
operator=(
    float v);
  » more...

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

field&
operator=(
    double v);
  » more...

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

field&
operator=(
    const date& v);
  » more...

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

field&
operator=(
    const datetime& v);
  » more...

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

field&
operator=(
    const time& v);
  » more...

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

field&
operator=(
    const field_view& v);
  » more...

PrevUpHomeNext