types/description: correct the comment for description::width

This commit is contained in:
Danny Robson 2020-05-01 11:25:27 +10:00
parent ef560d8c1e
commit 03e29aede1

View File

@ -99,7 +99,9 @@ namespace cruft::types {
/// realistic system; eg, signed floating point numbers.
bool signedness;
/// The number of bytes for an individual instance of this type.
/// The number of bytes required for each of the value members.
/// eg, sizeof(float) for a vector2f. The full size of the described
/// type will be `arity * width`
std::size_t width;
/// The number of variables that make up an instance.