Template Struct Value¶
Defined in File dimensions.h
Struct Documentation¶
-
template<typename T, typename Tag>
struct Value¶ Wraps a geometry value and prevents it from being accidentally used for invalid operations (such as setting a width to a height or adding two x positions together). Of course, explicit casts are possible to get around these restrictions (see the as_*() functions).