# Assignment Operator

Any Ivec object can be assigned to any other Ivec object; conversion on assignment from one Ivec object to another is automatic.

## Assignment Operator Examples

Is16vec4 A;

Is8vec8 B;

I64vec1 C;

`A = B; /* assign Is8vec8 to Is16vec4 */`

`B = C; /* assign I64vec1 to Is8vec8 */`

`B = A & C; /* assign M64 result of '&' to Is8vec8 */`

Parent topic: Integer Vector Classes