From 03e29aede16e8ca743f40cf2f09c8ec2b3e272e9 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 1 May 2020 11:25:27 +1000 Subject: [PATCH] types/description: correct the comment for `description::width` --- types/description.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/description.hpp b/types/description.hpp index d36521cc..f7e7d9e5 100644 --- a/types/description.hpp +++ b/types/description.hpp @@ -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.