![]() |
WPILibC++ 2025.3.2
|
Formatter for unit types. More...
#include <units/formatter.h>
Public Member Functions | |
| template<typename ParseContext > | |
| constexpr auto | parse (ParseContext &ctx) |
| template<typename FmtContext > | |
| auto | format (const Unit &obj, FmtContext &ctx) const |
| Writes out a formatted unit. | |
Formatter for unit types.
|
inline |
Writes out a formatted unit.
| obj | Unit instance. |
| ctx | Format string context. |
|
inlineconstexpr |