operator/=
Prev | Chapter 23. ElementHolder | Next

## operator/=

### Function Details

    const self& operator/=(const ElementHolder< T2 > &p2)

    const self& operator/=(const self &p2)

### Group: Math operators.

ElementHolder class templates also have all C/C++ self mutating operators for numeric primitive types, including: +=, -=, *=, /=, =, <<=, >>=, &=, |=, ^=, ++, -- These operators should not be used when ddt is a sequence pointer type like char* or wchar_t* or T*, otherwise the behavior is undefined.

These methods exist only to override default bahavior to store the new updated value, otherwise, the type convert operator could have done all the job. As you know, some of them are not applicable to float or double types or ElementHolder wrapper types for float/double types. These operators not only modifies the cached data element, but also stores new value to database if it associates a database key/data pair.

### Class

ElementHolder

Prev | Up | Next
operator *= | Home | operator%=