Skip to main content

Practice ยท 1 of 2

Specialize Vector3<bool> as Bit-Packed

The generic Vector3<T> wastes a byte per bool. Write a **full specialization** Vector3<bool> that packs the three flags into one unsigned and reports storage = "bit-packed".

Difficulty: advanced

Back to lesson: Practice: Specialization Workshop