Using Operators with the _DecimalT Class Template
You can use the following operators with the
_DecimalT class
template:
- Arithmetic (see Using Arithmetic Operators with the _DecimalT Class Template)
- Assignment
- Comma
- Conditional (see Using Conditional Expressions with the _DecimalT Class Template)
- Equality (see Using Equality Operators with the _DecimalT Class Template)
- Relational (see Using Relational Operators with the _DecimalT Class Template)
- Unary (see Using Unary Operators with the _DecimalT Class Template)
Note:
- Logical operators are not implemented for
_DecimalTclass templates. - For information on runtime exceptions during assignments, see C++ Packed Decimal Data Conversions.