type of smart union to get formatting wrapper for
smart union to get formatting wrapper for
flag to toggle formatting of the name of the active union member. If true, format output will look like "<activename>: value". If false, format output will look like "value"
union U { int i; cstring s; } SmartUnion!(U) su; // format from ocean.text.convert.Formatter format("union active member: {}", asActiveField(su));
Gets a wrapper struct with a toString method to format the provided smart union.