DefaultUnit

unit-functions DefaultUnit

syntax

  • DefaultUnit(valuetype)

definition

DefaultUnit(valuetype) results in a unit with as value-type the literal valuetype

example

unit<string> unit_str := DefaultUnit('string');