Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 413 Bytes

Unit.md

File metadata and controls

17 lines (12 loc) · 413 Bytes

Unit

This represents the functional unit type.

Construction

Unit u = default;

Advanced Scenarios

Unit is implemented as a value type. In some situations this might lead to unwanted boxing operations. This library provides a "pre boxed" shared instance of the unit type that can be used in such scenarios.

IUnit u = Unit.Instance;